Mail from ILUG-BOM list (Non-Digest Mode)

Satya [EMAIL PROTECTED]
Wed, 19 Jul 2000 20:24:07 +0530 (IST) 

> for r in *.zip *.ZIP;
>       do mkdir $r.d;
>       cd $r.d;
>       unzip ../$r;
>       cd ..;
> done

Why not change the first line to *.[zZ][iI][pP]

Will also take care of obscure patterns like ZiP, Zip, zIp etc.

Philip
_______________________________________________
Website: http://www.ilug-bom.org.in/ilug
Linuxers mailing list
[EMAIL PROTECTED]
http://ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to