Erik Andersen <[EMAIL PROTECTED]> writes:

> expr can be replaced with posix shell expressions.

This is not true in general, as there is no support for regular
expressions in POSIX sh.

  $ expr "abcdef" : '[ab]*\(.\).*'
  c

Most of the time you can rewrite the code to use parameter
substitution or the arithmetic builtins, so this is not a serious
objection, just a FYI.


Kjetil T.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to