chiark
/
gitweb
/
~mdw
/
misc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8fcca86
)
hush.in: Don't trim leading space from lines.
author
Mark Wooding
<mdw@distorted.org.uk>
Sun, 7 Oct 2012 02:27:53 +0000
(
03:27
+0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sun, 7 Oct 2012 02:27:53 +0000
(
03:27
+0100)
hush.in
patch
|
blob
|
blame
|
history
diff --git
a/hush.in
b/hush.in
index 5e78234ba381c9bd80eeb1b2e17e036c690dfa32..4b3b751f5f73b450c35ca0ebadfd5d370d77f7bc 100755
(executable)
--- 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 </dev/null
)