On Mon, Sep 19, 2016 at 02:31:34PM -0700, elliot s wrote: > What would be an example of what a user defined function looks like? > That's where most of the "needs easy reading and editing" happens. > Also, i would have a space between option and value. > So -f red, not -fred (who's fred, and what's he doing in my rc file?) >
So "-fred" versus "-f red" is a facet of how getopt() works, and has no bearing on how you specify the option with the value. You can write it either way. Secondly, take another look at the document, since it tells you how functions could be specified. -- Thomas Adam