On Fri, Dec 14, 2012 at 06:10:21PM -0600, David Champion wrote:
> [...] note that the ${a#b} and ${a%b} family of parameter expressions
> is nonportable.  These are commonly accepted bashisms [...]
> 
wrong.
http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html
section 2.6.2

or to quote
http://www.gnu.org/software/autoconf/manual/autoconf-2.67/html_node/Shell-Substitutions.html#Shell-Substitutions
"Posix requires support for these usages, but they do not work with many
traditional shells, e.g., Solaris 10 /bin/sh."

iow, throwing around "bashism" is just FUD.
if mutts wants to keep supporting utterly retarded systems from the last
millenium that's fine with me, but get your facts straight.

Reply via email to