try:
Code:
for file in `echo $*`
do
zcat $file
done
exit
It is possible to get odd behavior from either perl or shell by passing so many arguments. It's not the number of arguments but the total numbers of the characters.
I would make sure you don't pass more than 4096 characters at a time.