j
k
j a
j l
$ if [[ "$I" -eq '.' ]]; then echo true; fi -bash: [[: .: syntax error: operand expected (error token is ".")
-eq is for numbers
== is for strings
See "man bash".
-Owen
Back to the thread
Back to the list