check for the number of arguments and to ensure that there is at least one file that exists in the $1 pattern. However it becomes much... re you'd want to traverse a list of directories that were all part of a path. Here's a command pair that echos each directory from the root down to the "c... etting the IFS to a "colon" tells the shell to treat that character as the separater between "words" -- instead of the usual "whitespace" that's assigned to it. For this particular function it's very important that IFS consist solely of that character -- usually i
< "$b" ]]
if [ "$a" \< "$b" ]
</code>
Note that the "<" needs to be escaped within a [ ] construc... > "$b" ]]
if [ "$a" \> "$b" ]
</code>
Note that the ">" needs to be escaped within a [ ] construc... s comparison operator.
----
-z
string is null, that is, has zero length
<code>
String='' # Zero-len... ng is not null.
Caution
The -n test requires that the string be quoted within the test brackets. Us