the first character. Suppose you had the string MYDOCUMENT.DOC and you wanted the MYDOCUMENT part chopped, so that the function returned... ould pass the following to the chop function:
MYDOCUMENT.DOC 10
Here's the function chop:
chop()
# cho... tory $DIREC
then :
else
error_msg "$DIREC does not exist...creating it now"
mkdir $DIREC >... urce the function file functions.sh
# that's a <dot><space><forward slash>
. /home/dave/bin/functi
a" -le "$b" ]</code>
----
<
is less than (within double parentheses)
<code>(("$a" < "$b"))</code>
----
//<=//
is less than or equal to (within double parentheses)
<code>(("$a" <= "$b"))</code>
----
>
is greater than (within double parentheses)
<code>(("$a" > "$b"))</code>
----
//>=//
is greater than or equal to (within double parentheses)
<code>(("$a" >= "$b"))</code>