"$a" \< "$b" ]
</code>
Note that the "<" needs to be escaped within a [ ] construct.
----
>
is greate... $a" \> "$b" ]
</code>
Note that the ">" needs to be escaped within a [ ] construct.
See Example 27-1... .
Caution
The -n test requires that the string be quoted within the test brackets. Using an unquote... de>
#!/bin/bash
a=4
b=5
# Here "a" and "b" can be treated either as integers or strings.
# There i
# ABC
===== Default =====
These operators can be used in a variety of ways. A good example would be to give a default value to a variable normally rea... and operated from the right.
These operators can be used to do a variety of things. For example, the ... NOTE ==
The colon (:) in the above operators can be omitted. Doing so changes the behavior of the ope