1
On a script, I get some warning of the form awk: warning: escape sequence \( treated as plain (
.
Since I want to use the output of that script to do stuff, I want it to output only results and not warnings.
I can correct that warning easily, but is there a way to get rid of all warnings in awk?
This seems like a bad idea, because you will miss any actual errors you should be aware of. Is there any way to suppress that warning, or all warnings ONLY, and still see any significant errors? Looking for something more elegant/clean than simply piping stderr to 'grep -v' ;-) – BobDoolittle – 2017-06-27T22:50:03.043