On 04/20/2013 11:28 AM, 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. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
