RFR: 7902652: Webrev: prints "awk: cmd. line:8: warning: regexp escape sequence `\@' is not a known regexp operator"

Stefan Karlsson stefan.karlsson at oracle.com
Mon Apr 20 08:29:20 UTC 2020


Hi all,

Please review this patch to get rid of some warnings from webrev:

https://cr.openjdk.java.net/~stefank/CODETOOLS-7902652/webrev.01/
https://bugs.openjdk.java.net/browse/CODETOOLS-7902652

After an update to my system I got awk 5.0.1, and now webrev complains 
about:
"awk: cmd. line:8: warning: regexp escape sequence `\@' is not a known 
regexp operator"

A couple of @'s seems to be incorrectly escaped. This patch replaces 
\@\@ with @@.

I've generated webrevs with:
- awk 4.2.1 without fix
- awk 4.2.1 with fix
- awk 5.0.1 without fix
- awk 5.0.1 with fix

and verified that they all generate the same output (except some 
timestamps).

Thanks,
StefanK


More information about the code-tools-dev mailing list