This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]