Mario DeFazio wrote:

> Warning/Apology: the following commentary has nothing to do with parallism.
> 
> I guess old habits die hard, but I still wonder why it is that 15 (or
> is it 20?) years after David Korn added native integer arithmetic and
> the math expression (( )) to ksh, folks still use -eq, -ge, -gt and so
> on inside [[ ]] or worse, [ ] .

I can't speculate about the actual habits,
but the most obvious reason is portability.

It's not only about traditional portability
(neither (( )) nor [[ ]]) but also about
SUS/POSIX (no [[ ]]).

The actual need for portability certainly is
an individual decision.
-- 
http://www.opengroup.org/onlinepubs/009695399/utilities/test.html#tag_04_140_18
http://www.in-ulm.de/~mascheck/various/shells/
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to