From 18f4c6b5f19c4a7a34402148d01d71e7f4fe69b4 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 19 Mar 2007 18:13:36 +0000 Subject: [PATCH] * doc/autoconf.texi (Limitations of Usual Tools): Warn about other nonstandard grep R.E. escape sequences. --- ChangeLog | 5 +++++ doc/autoconf.texi | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b6d56088..29c6c002 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-03-19 Paul Eggert + + * doc/autoconf.texi (Limitations of Usual Tools): Warn about other + nonstandard grep R.E. escape sequences. + 2007-03-17 Jim Meyering * doc/autoconf.texi: Adjust grammar around use of "heuristics". diff --git a/doc/autoconf.texi b/doc/autoconf.texi index c1f1abbf..817ab5c4 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -13563,7 +13563,9 @@ escape characters in the string @samp{$()*.0123456789[\^@{@}}. For example, alternation, @samp{\|}, is common but Posix does not require its support in basic regular expressions, so it should be avoided in portable scripts. Solaris and HP-UX @command{grep} do not support it. -Similarly, @samp{\<}, @samp{\>}, @samp{\+} and @samp{\?} should be avoided. +Similarly, the following escape sequences should also be avoided: +@samp{\<}, @samp{\>}, @samp{\+}, @samp{\?}, @samp{\`}, @samp{\'}, +@samp{\B}, @samp{\b}, @samp{\S}, @samp{\s}, @samp{\W}, and @samp{\w}. @item @command{join} -- 2.11.4.GIT