On Tue, Feb 04, 2003 at 01:10:45PM -0500, Drew Cohan wrote:
> Why is
> 
>  
> 
> echo /path/to/dir/*.{jpg,JPG,jpeg,JPEG}
> 
>  
> 
> illegal?

It's not, merely not portable to POSIX shells other than bash. However,
you may want to 'shopt -s nullglob' in case some of the parts of that
wildcard don't expand to anything.

-- 
Colin Watson                                  [[EMAIL PROTECTED]]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to