is that ${param:-word} already has a well-defined meaning: expand to word if the expanded value of par... If you've got questions or comments, please drop me a line.
Pattern Matching
There are two kinds of p... s is a test"
echo ${foo:+bar}
bar
${foo:?"error message"} If $foo exists and is not null, return it... . If it doesn't exist or is null, print the error message. If no error message is given, print paramet
rings,
#+ but not strings and sealing wax, not to mention cabbages and kings . . .
# Using if [ ...... cho "Usage: `basename $0` filename" >&2
# Error message to stderr.
exit $E_NOARGS
# Returns 65 a...
echo "File $filename not found!" >&2 # Error message to stderr.
exit $E_NOTFOUND
fi
if [ ${f