bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mention what characters need to be escaped inside [...]


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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]