hen a negative `offset' begins with a minus sign, however, unexpected things can happen. Consider
<co... ments, when no such arguments are given. This is shown in the following script:
#!/bin/bash
export INF... rators, with their functions and an example, are shown in the following table:
Operator Function Exam... here are four substitution operators in bash, as shown in the following table.
Operator Function Exam
n test brackets (see Example 7-6) normally works, however, this is an unsafe practice. Always quote a t... ts of all-integer characters.
# Caution advised, however.
echo
if [ "$a" -ne "$b" ]
then
echo "$a ... s null."
fi # Wrong result.
# Shows $string1 as not null, although it was not initia... rator alone detects whether the string is null.
# However it is good practice to quote it (if [ "$strin