#!/bin/sh

for file in $*
do
  case $file in
   *.zip|*.ZIP) unzip -v $file;;
   *.lha|*.LHA) lha l $file;;
   *.rar|*.RAR) unrar l $file;;
   *.arj|*.ARJ) unarj l $file;;
   *)           echo "Unknown file $file";;
  esac
done

exit 0
