Eric Blake wrote:
> Bob Proulx wrote:
> > But even expr is now obsoleted by built in shell math.  Use ((...)) to
> > perform the math in the shell with no external program calls.
> 
> In bash, yes, but not portable.  $(()) is standardized by POSIX, but
> (()) is not, and has some surprising corner cases because it is not
> standardized.

Thanks for that correction.  With that in mind then am I justified in
sticking with my old traditional expr use?  It works everywhere!  :-)

Bob

Reply via email to