ilenames for use on a dossy system
# only handles file extensions, not filenames
for i in *.html; do
... string manipulations that are commonly needed on file and path names.
Background
In traditional Bour... y need to refer to just the directory or just the file name parts of a given full file specification.
Usually these commands are used within the "back tick"
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