mirror of https://github.com/mkerrisk/man-pages
glob.7: Clarify that syntactically incorrect patterns are left unchanged
Reported-by: Arnaud Gaillard <arnaud.mgaillard@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
b6264ec7cd
commit
1bceaaee94
|
@ -93,8 +93,8 @@ Globbing is applied on each of the components of a pathname
|
|||
separately.
|
||||
A \(aq/\(aq in a pathname cannot be matched by a \(aq?\(aq or \(aq*\(aq
|
||||
wildcard, or by a range like "\fI[.\-0]\fP".
|
||||
A range cannot contain an
|
||||
explicit \(aq/\(aq character; this would lead to a syntax error.
|
||||
A range containing an explicit \(aq/\(aq character is syntactically incorrect.
|
||||
(POSIX requires that syntactically incorrect patterns are left unchanged.)
|
||||
|
||||
If a filename starts with a \(aq.\(aq,
|
||||
this character must be matched explicitly.
|
||||
|
|
Loading…
Reference in New Issue