ugh it was not initialized.
echo
# Let's try it again.
if [ -n "$string1" ] # This time, $string1 is ... ho
string1=initialized
if [ $string1 ] # Again, $string1 stands unquoted.
then
echo "String \"... ing \"string1\" is null."
fi # Again, gives correct result.
# Still, it is better to q... . . .
string1="a = b"
if [ $string1 ] # Again, $string1 stands unquoted.
then
echo "String \"
newly returned upper case string. Notice the use again of using the special parameter $@ to pass all arg... newly returned lower case string. Notice the use again of using the special parameter $@ to pass all arg... {
# error_msg
# beeps; display message; beeps again!
echo -e "\007"
echo $@
echo -e "\007"
... reporting utilities.
Let's use the above function again, but this time put it in a function file. We will