Quote:
Originally Posted by J65nko
With Linux expr works:
Code:
$ if expr 'zzz' \> 'aaa' ; then echo Greater ; fi
Greater
|
Hmm, what version of expr did you use? I tried three different Linux versions
expr (GNU coreutils) 8.19
expr (GNU coreutils) 8.21
expr (GNU coreutils) 8.4
They all print out the result
The Gnu/Linux man page says they print out the result.