This is the mail archive of the
cygwin
mailing list for the Cygwin project.
getopt -- just a nit
- From: L Anderson <lowella at serv dot net>
- To: cygwin at cygwin dot com
- Date: Sat, 05 Feb 2011 13:18:51 -0800
- Subject: getopt -- just a nit
This is just a small nit that, I suppose, is for the maintainer of 'getopt'.
In "/usr/share/getopt", resides the file: 'getopt-parse.bash'. Line 9
of that file is:
'# ./parse.bash -a par1 'another arg' --c-long 'wow!*\?' -cmore -b "
very long"'
which, in a moment of haste, led me to think I could just "cut-n-paste"
it to the bash prompt to run the example--no joy.
Changing line 9 to:
'# ./getopt-parse.bash -a par1 'another arg' --c-long 'wow!*\?' -cmore
-b " very long"'
would allow that. i.e., keeping the command line keyword the same as
the file name would be a nice touch.
Thanks,
Lowell Anderson
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple