Re: option abbreviation exceptions

2009-01-10 Thread Jim Meyering
Eric Blake wrote: > According to Jim Meyering on 1/10/2009 10:48 AM: >> "[" feels like it should be the exception. >> I see treating --v like --version as a feature. a typing saver. >> But with "[", it's good to minimize the number of strings that >> make it act differently. >> >> Besides, why ma

Re: option abbreviation exceptions

2009-01-10 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jim Meyering on 1/10/2009 10:48 AM: > "[" feels like it should be the exception. > I see treating --v like --version as a feature. a typing saver. > But with "[", it's good to minimize the number of strings that > make it act differently.

Re: option abbreviation exceptions

2009-01-10 Thread Jim Meyering
Eric Blake wrote: > According to Jim Meyering on 12/29/2008 10:02 AM: >>> $ /bin/[ --help me | head -n1 >>> /bin/[: missing `]' >>> $ /bin/[ --help | head -n1 >>> Usage: test EXPRESSION >>> $ /bin/[ --hel | head -n1 >>> Usage: test EXPRESSION >>> >>> Should the last example also complain about mis

Re: option abbreviation exceptions

2009-01-10 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jim Meyering on 12/29/2008 10:02 AM: >> $ /bin/[ --help me | head -n1 >> /bin/[: missing `]' >> $ /bin/[ --help | head -n1 >> Usage: test EXPRESSION >> $ /bin/[ --hel | head -n1 >> Usage: test EXPRESSION >> >> Should the last example also