In addition to zgrep, we need bzgrep.
I suggest looking at `basename $0` to decide whether to use gzip or
bzip2 at line 149, using a variable set earlier:
unzipper=gzip
unzipper_options=-cdfq
case `basename $0` in
(bzgrep)
unzipper=bzip2;;
(Zgrep*)
unzipper=zcat
unzipper_options=;;
esac
...
($unzipper $unzipper_options ....)
--
Van Snyder | What fraction of Americans believe
[email protected] | Wrestling is real and NASA is fake?
Any alleged opinions are my own and have not been approved or
disapproved by JPL, CalTech, NASA, the President, or anybody else.