>Ranges
>There is one special convention: two characters separated by `-' denote >a range. (Thus, `[A-Fa-f0-9]' is
>equivalent to `[ABCDEFabcdef0123456789]'.) One may include `-' in its >literal meaning by making it the
>first or last character between the brackets. (Thus, `[]-]' >matches just the two characters `]' and `-',
>and `[--/]' matches the three characters `-', `.', `/'.)
However, when you run the following command:
$ ls myfile[--/]txt
it will say
ls: myfile[--/]txt:No such file or directory
However,
$ ls myfile [-.]txt
returns myfile.txt and myfile-txt if they exist.
Since file names can't have a '/' in them, is the man page just written strangely/incorrectly or am I just not using this the way it was meant to be used?
I tried to see if other people had issues with this but Google didn't return anything but HTML versions of man pages or information on how glob was a security risk on ftp servers.
Thanks, Gianfranco
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]