[clue-tech] Script for Unzipping?

David Anselmi anselmi at anselmi.us
Sat Apr 30 11:01:32 MDT 2005


Jeff Schroeder wrote:
[...]
> That's because the shell is expanding "*.zip" before running the unzip 
> command.  Thus, the command actually being executed is something like
> 
> $ unzip file1.zip file2.zip file3.zip

Boy, I'd call that a bug.  Shouldn't a command, given multiple file name 
arguments, just process each file?  That's what you'd get from cat, 
less, grep, etc.

I'd think that if you wanted just some files from the archive, a switch 
for that behavior would be a better design.

Dave



More information about the clue-tech mailing list