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

Langer, Christoph christoph.langer at sap.com
Thu Apr 23 05:47:19 UTC 2020


Hi Stefan,

thanks for fixing this... it annoyed me in my Windows/Cygwin setup a lot ��

Fix looks good and I can confirm that it works.

Best regards
Christoph

> -----Original Message-----
> From: code-tools-dev <code-tools-dev-bounces at openjdk.java.net> On
> Behalf Of Stefan Karlsson
> Sent: Montag, 20. April 2020 10:29
> To: code-tools-dev at openjdk.java.net
> Subject: RFR: 7902652: Webrev: prints "awk: cmd. line:8: warning: regexp
> escape sequence `\@' is not a known regexp operator"
> 
> 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