public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* getopt -- just a nit
@ 2011-02-05 21:18 L Anderson
  0 siblings, 0 replies; only message in thread
From: L Anderson @ 2011-02-05 21:18 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-02-05 21:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-05 21:18 getopt -- just a nit L Anderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).