From: Mark Wooding Date: Fri, 26 Oct 2012 18:25:47 +0000 (+0100) Subject: Merge branch 'master' of git.distorted.org.uk:public-git/misc X-Git-Tag: 1.2.8.1~1 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/misc/commitdiff_plain/910510e4671b26ebd62eff162f5207d28a58a39d?hp=4754c66dd2d7cb9cc9e11fdd66cc03fc109a838a Merge branch 'master' of git.distorted.org.uk:public-git/misc * 'master' of git.distorted.org.uk:public-git/misc: xtitle.c: Ignore boring return codes better. hush.1.in: Fix some stupid (but relatively minor) formatting foulups. --- diff --git a/debian/changelog b/debian/changelog index 26ad855..a84ff32 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,22 @@ +nsict-utils (1.2.8) experimental; urgency=low + + * hush: Preserve leading spaces. + + -- Mark Wooding Sun, 07 Oct 2012 15:06:40 +0100 + +nsict-utils (1.2.7) experimental; urgency=low + + * mtimeout: Various improvements to approach feature-parity with the GNU + Coreutils `timeout' program. + * prlimit, hush: Various minor bug fixes. + * qmail-checkspam: Log envelope and spam score to make diagnosing + incorrect rejections easier. + + -- Mark Wooding Tue, 14 Feb 2012 10:25:24 +0000 + nsict-utils (1.2.6) experimental; urgency=low - * mtimeout: Rename from timeout to prevent conflict with GNU Coreutils. + * mtimeout: Rename from timeout to prevent conflict with GNU Coreutils. This version is slightly better techincally. * x86-model: Actually show the stepping number. * prlimit: A new Linux-specific program for changing another process's diff --git a/hush.1.in b/hush.1.in index 3e3051a..d849700 100644 --- a/hush.1.in +++ b/hush.1.in @@ -46,7 +46,7 @@ version number to standard output, and exit. .BI "\-d " directory Write log files to .I directory -rather than the default, +rather than the default, .BR "@logdir@" . .TP .BI "\-m " email-address diff --git a/hush.in b/hush.in index 5e78234..4b3b751 100755 --- a/hush.in +++ b/hush.in @@ -147,8 +147,8 @@ EOF ## substitution. rc=$( { { { { set +e; $lbuf "$cmd" "$@"; echo $? >&5; } | - while read line; do echo "| $line"; done >&4; } 2>&1 | - while read line; do echo "* $line"; done >&4; } 4>&1 | + while IFS= read line; do echo "| $line"; done >&4; } 2>&1 | + while IFS= read line; do echo "* $line"; done >&4; } 4>&1 | cat -u >&3; } 5>&1