diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-08-09 17:24:11 +1200 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-08-12 07:14:42 +1200 |
| commit | 1bceaaee94a9c44111e74ef39ee2bce20cc48d16 (patch) | |
| tree | 0a5d92ee7932d8141ba3f9dc037bfc82df3f2275 | |
| parent | b6264ec7cd5047c806c9d811f8c7e7677ecaf472 (diff) | |
| download | man-pages-1bceaaee94a9c44111e74ef39ee2bce20cc48d16.tar.gz | |
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>
| -rw-r--r-- | man7/glob.7 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man7/glob.7 b/man7/glob.7 index 41c582ce0c..4314a45d89 100644 --- a/man7/glob.7 +++ b/man7/glob.7 @@ -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. |
