|
| From: | jidanni |
| Subject: | mention what characters need to be escaped inside [...] |
| Date: | Mon, 04 May 2009 00:34:19 +0800 |
Maybe mention in the man page at
[...] Matches any one of the enclosed characters...
that one will need to backslash at least any spaces used inside it:
$ ls [^ ]
ls: cannot access [^: No such file or directory
ls: cannot access ]: No such file or directory
$ ls [^\ ]
a
| [Prev in Thread] | Current Thread | [Next in Thread] |