-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Pádraig Brady on 10/14/2008 3:47 AM:
>> With native versions of expr, and expr from GNU coreutils prior to
>> version 7.0, the expansion of lscmd usually begins "-rw-r--r--", but
>> the leading hyphen does not cause the word to be treated as an option.
> 
> I think that was an unintended change introduced when adding getopt to expr:
> http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=f65cafd67b33009d23f940968bbe7f9a08d6fe13

Unintended or not, getopt's side effect of complaining about unrecognized
options is necessary for standard compliance (ie. all earlier versions of
coreutils had a bug in this area), so we should not revert it.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkj0ie4ACgkQ84KuGfSFAYCNCgCfYTK6YOxq7Fo9lTZe82zYsgUi
nwwAoKxiWo7zzo7kbq1C9Mb70glnE4oz
=qBCO
-----END PGP SIGNATURE-----


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to