Permalink
Browse files

expand tabs in output

  • Loading branch information...
geirha committed Sep 21, 2012
1 parent 672db58 commit ece99e901ff0428af15a5e55be7370930d753a60
Showing with 1 addition and 1 deletion.
  1. +1 −1 evalcmd
View
@@ -7,7 +7,7 @@ while read -r trigger shell; do
done < ./triggers
[[ ${triggers[$t]} ]] || exit
-output=$(./limitcmd.pl "${triggers[$t]}" "$2" | head -c 4242 | tr -d '\r' | awk '{ do { print substr($0, 1, 120); $0 = substr($0, 121); } while(length($0)>0); }'; exit ${PIPESTATUS[0]}; )
+output=$(./limitcmd.pl "${triggers[$t]}" "$2" | expand | head -c 4242 | tr -d '\r' | awk '{ do { print substr($0, 1, 120); $0 = substr($0, 121); } while(length($0)>0); }'; exit ${PIPESTATUS[0]}; )
result=$?
lines=$(wc -l <<< "$output")

0 comments on commit ece99e9

Please sign in to comment.