mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
(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
This commit is contained in:
1 parent
398c7ab669
commit
8a52d68a72
1 file changed
+6
-2
+6
-2
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user