Re: Bash Pattern Matching Syntax

2005-10-23 Thread Michał Masłowski
I want to list the files in a directory that end in .jpg irregardless of case. Thus after reading the bash man page, it seems I should be able to issue a command something along the lines of ls [*.[JjPpGg]] or ls *.[JjPpGg] but neither of these work and return a No such file or directory

Re: Bash Pattern Matching Syntax

2005-10-17 Thread Drew Tomlinson
On 10/15/2005 4:07 PM Will Maier wrote: On Sat, Oct 15, 2005 at 03:37:11PM -0700, Drew Tomlinson wrote: I want to list the files in a directory that end in .jpg irregardless of case. Thus after reading the bash man page, it seems I should be able to issue a command something along the

Bash Pattern Matching Syntax

2005-10-15 Thread Drew Tomlinson
I want to list the files in a directory that end in .jpg irregardless of case. Thus after reading the bash man page, it seems I should be able to issue a command something along the lines of ls [*.[JjPpGg]] or ls *.[JjPpGg] but neither of these work and return a No such file or directory

Re: Bash Pattern Matching Syntax

2005-10-15 Thread Will Maier
On Sat, Oct 15, 2005 at 03:37:11PM -0700, Drew Tomlinson wrote: I want to list the files in a directory that end in .jpg irregardless of case. Thus after reading the bash man page, it seems I should be able to issue a command something along the lines of ls [*.[JjPpGg]] or ls *.[JjPpGg] but