e variable as a character string. For example, if filename has the value fred.c, then ${#filename} would have the value 6.
The other operator (${#array[*]})... llowing script changes the extension of all .html files to .htm.
#!/bin/bash
# quickly convert html filenames for use on a dossy system
# only handles file ex
to z* (literal matching).
[ $a == z* ] # File globbing and word splitting take place.
[ "$a... e ===
<code>
#!/bin/bash
# zmore
# View gzipped files with 'more' filter.
E_NOARGS=65
E_NOTFOUND=66
E... re "" arg2 arg3
then
echo "Usage: `basename $0` filename" >&2
# Error message to stderr.
exit $E_N... s 65 as exit status of script (error code).
fi
filename=$1
if [ ! -f "$filename" ] # Quoting $file