Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.5) Gecko/20060719 Thunderbird/1.5.0.5 Mnenhy/0.7.4.666
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Sebastian Kreft on 9/12/2006 8:51 PM:
> I don't know if it is a standard of expr, but I think that is not intuitive
> to write a plus symbol before the string substr if I want to get the length
> of it.
POSIX states "The use of string arguments length, substr, index, or match
produces unspecified results."
(http://www.opengroup.org/onlinepubs/009695399/utilities/expr.html) This
is because these four strings can also be operators. The + is necessary
to tell expr that you want it interpreted as a string, not an operator.
- --
Life is short - so eat dessert first!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFCAXJ84KuGfSFAYARAk2QAJ9BA5J6nnJwxCRT1hSFTjbRmQ0e7gCgyYJw
A39/5WHkkmD7XyQQptv5x+4=
=mTMs
-----END PGP SIGNATURE-----