On Wednesday 16 March 2005 07:56, Kovriga, Gregory wrote:
> I think most GNU commands support "--" as "end of options".
Actually, any program that process its options via getopt(3)
[POSIX] including programs that use the extended GNU
getopt_long(3) get this behavior automatically as well as
few other goodies:
- Boolean option bundling:
ls -l -d -i
ls -ldi
- Parametrized options with/without space:
pr -h'hello'
pr -h 'hello'
Using standard functions make all programs more consistent
for end users.
Cheers,
--
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED] http://www.actcom.co.il/~oron
ICQ UIN: 16527398
"If you have an apple and I have an apple and we exchange apples then
you and I will still each have one apple. But if you have an idea and I
have an idea and we exchange these ideas, then each of us will have two
ideas." -- George Bernard Shaw (sent by shaulk @ actcom . net . il)
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]