bin/tame: Remove unnecessary trailing backslashes
This was originally in a Makefile, long ago, where backslashes were actually needed.master
parent
dfce9a89d8
commit
2a56c75345
34
bin/tame
34
bin/tame
|
@ -378,23 +378,23 @@ kill-tamed()
|
||||||
# output rather than wasting cycles doing this filtering.
|
# output rather than wasting cycles doing this filtering.
|
||||||
saneout()
|
saneout()
|
||||||
{
|
{
|
||||||
awk ' \
|
awk '
|
||||||
/^~~~~\[begin /,/^~~~~\[end / { next } \
|
/^~~~~\[begin /,/^~~~~\[end / { next }
|
||||||
/^rm / { next } \
|
/^rm / { next }
|
||||||
/^COMMAND / { next } \
|
/^COMMAND / { next }
|
||||||
/^Exception|^\t+at / { \
|
/^Exception|^\t+at / {
|
||||||
if ( /^E/ ) { \
|
if ( /^E/ ) {
|
||||||
print; \
|
print;
|
||||||
print "Stack trace written to run-*.log"; \
|
print "Stack trace written to run-*.log";
|
||||||
} \
|
}
|
||||||
next; \
|
next;
|
||||||
} \
|
}
|
||||||
/([Ww]arning|[Nn]otice)[: ]/ { printf "\033[0;33m"; w++; out=1; } \
|
/([Ww]arning|[Nn]otice)[: ]/ { printf "\033[0;33m"; w++; out=1; }
|
||||||
/[Ff]atal:/ { printf "\033[0;31m"; out=1; } \
|
/[Ff]atal:/ { printf "\033[0;31m"; out=1; }
|
||||||
/!|[Ee]rror:/ { printf "\033[0;31m"; e++; out=1; } \
|
/!|[Ee]rror:/ { printf "\033[0;31m"; e++; out=1; }
|
||||||
/internal:/ { printf "\033[0;35m"; out=1; } \
|
/internal:/ { printf "\033[0;35m"; out=1; }
|
||||||
/internal error:/ { printf "\033[1m"; out=1; } \
|
/internal error:/ { printf "\033[1m"; out=1; }
|
||||||
/^[^[]/ || out { print; printf "\033[0;0m"; out=0; } \
|
/^[^[]/ || out { print; printf "\033[0;0m"; out=0; }
|
||||||
'
|
'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue