Chime Hart (HE12026-02-20): > unzip *.zip > it only handled the first file, unlike unp which handled all zip files.
unzip never saw the wildcard, it saw the list of zip files expanded by the shell from the wildcard. Also, unzip is not designed to extract from multiple archives. The first argument is the name of the archive. The other arguments are patterns for the files to extract. So basically, you tried to extract 2.zip and 3.zip from 1.zip. > didn't use any switches, but I should say I am in TCSH, if that changes > things. It changes a lot of things, but not here. One of the things it changes is that globs that do not match any local file will cause an error instead of being kept as is. This is one of the rare instance where the behavior of tcsh is sane and the behavior of sh and derived is insane. For a sane glob behavior with the syntax of Bourne shells, use zsh. Regards, -- Nicolas George

