diff options
Diffstat (limited to 'bin/muffle')
-rwxr-xr-x | bin/muffle | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -83,10 +83,10 @@ STATUS="$(cat "$STATUS_F")" if [ "$STATUS" != 0 ]; then cat "$OUT" "$ERR" | sort -k2 | while read -r line; do - if [ "$(echo "$line" | cut -d' ' -f1)" = 'out:' ]; then - echo "$line" | cut -d' ' -f3- >&1 + if [ "$(printf '%s\n' "$line" | cut -d' ' -f1)" = 'out:' ]; then + printf '%s\n' "$line" | cut -d' ' -f3- >&1 else - echo "$line" | cut -d' ' -f3- >&2 + printf '%s\n' "$line" | cut -d' ' -f3- >&2 fi done exit "$STATUS" |