RE: bash brace expansion question SOLVED

2003-02-04 Thread drew cohan
>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

Re: bash brace expansion question

2003-02-04 Thread Colin Watson
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

bash brace expansion question

2003-02-04 Thread Drew Cohan
Why is echo /path/to/dir/*.{jpg,JPG,jpeg,JPEG} illegal? TIA Drew Cohan drew at drewcohan dot com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]