wn in the following script:
#!/bin/bash
export INFILE=${1-"infile"}
export OUTFILE=${2-"outfile"}
cat $INFILE $OUTFILE
Hopefully, this gives you something to think about and to play wit
to z* (literal matching).
[ $a == z* ] # File globbing and word splitting take place.
[ "$a... filename allows for possible spaces.
then
echo "File $filename not found!" >&2 # Error message to st... ng bracket in variable substitution.
then
echo "File $1 is not a gzipped file!"
exit $E_NOTGZIP
fi
zcat $1 | more
# Uses the 'more' filter.
# May subs