diff options
author | Jim Meyering <jim@meyering.net> | 2006-02-12 08:48:42 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-02-12 08:48:42 +0000 |
commit | 8a52d68a72276faf8f17b9d4fca4c2640dc4adeb (patch) | |
tree | 86dffed909d62f5898f8e1aba8f47afc75fab694 /doc | |
parent | 398c7ab669b6a0041f286924fbf20708212e60be (diff) | |
download | coreutils-8a52d68a72276faf8f17b9d4fca4c2640dc4adeb.tar.xz |
(Character sets): Don't say that an unknown
backslash-escape causes an error message -- it doesn't.
Mention that `\' also removes any special significance, so
is useful for [, ], *, -. Prompted by Richard Neill in
http://savannah.gnu.org/bugs/index.php?func=detailitem&item_id=14937
Diffstat (limited to 'doc')
-rw-r--r-- | doc/coreutils.texi | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 6238876ea..5abb2c177 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -4934,8 +4934,7 @@ used only in @var{set1} or @var{set2}, as noted below. @item Backslash escapes @cindex backslash escapes -A backslash followed by a character not listed below is interpreted -as that character. +The following backslash escape sequences are recognized: @table @samp @item \a @@ -4959,6 +4958,11 @@ octal digits, A backslash. @end table +While a backslash followed by a character not listed above is +interpreted as that character, the backslash also effectively +removes any special significance, so it is useful to escape +@samp{[}, @samp{]}, @samp{*}, and @samp{-}. + @item Ranges @cindex ranges |