diff options
author | Mike Gerwitz <mike.gerwitz@ryansg.com> | 2021-03-12 09:28:39 -0500 |
---|---|---|
committer | Mike Gerwitz <mike.gerwitz@ryansg.com> | 2021-03-12 09:47:34 -0500 |
commit | 2a56c75345b9fc1f53a17c36076e29bd75c8bccb (patch) | |
tree | 7e2626692052acb882c7afe480b5e72a88dd503b /bin | |
parent | dfce9a89d8431b56f72ef606adfd2ed0faa13cc9 (diff) | |
download | tame-2a56c75345b9fc1f53a17c36076e29bd75c8bccb.tar.gz tame-2a56c75345b9fc1f53a17c36076e29bd75c8bccb.tar.bz2 tame-2a56c75345b9fc1f53a17c36076e29bd75c8bccb.zip |
bin/tame: Remove unnecessary trailing backslashes
This was originally in a Makefile, long ago, where backslashes were
actually needed.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/tame | 34 |
1 files changed, 17 insertions, 17 deletions
@@ -378,23 +378,23 @@ kill-tamed() # output rather than wasting cycles doing this filtering. saneout() { - awk ' \ - /^~~~~\[begin /,/^~~~~\[end / { next } \ - /^rm / { next } \ - /^COMMAND / { next } \ - /^Exception|^\t+at / { \ - if ( /^E/ ) { \ - print; \ - print "Stack trace written to run-*.log"; \ - } \ - next; \ - } \ - /([Ww]arning|[Nn]otice)[: ]/ { printf "\033[0;33m"; w++; out=1; } \ - /[Ff]atal:/ { printf "\033[0;31m"; out=1; } \ - /!|[Ee]rror:/ { printf "\033[0;31m"; e++; out=1; } \ - /internal:/ { printf "\033[0;35m"; out=1; } \ - /internal error:/ { printf "\033[1m"; out=1; } \ - /^[^[]/ || out { print; printf "\033[0;0m"; out=0; } \ + awk ' + /^~~~~\[begin /,/^~~~~\[end / { next } + /^rm / { next } + /^COMMAND / { next } + /^Exception|^\t+at / { + if ( /^E/ ) { + print; + print "Stack trace written to run-*.log"; + } + next; + } + /([Ww]arning|[Nn]otice)[: ]/ { printf "\033[0;33m"; w++; out=1; } + /[Ff]atal:/ { printf "\033[0;31m"; out=1; } + /!|[Ee]rror:/ { printf "\033[0;31m"; e++; out=1; } + /internal:/ { printf "\033[0;35m"; out=1; } + /internal error:/ { printf "\033[1m"; out=1; } + /^[^[]/ || out { print; printf "\033[0;0m"; out=0; } ' } |