>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
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
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]
3 matches
Mail list logo