tiemann@teacake.ebay.sun.com (Michael Tiemann) (02/13/90)
The GetOpt facility in libg++ is a nice way to treat command-line arguments in a uniform way. Has anybody thought about doing this: write a program which reads GetOpt code (i.e., parses argument strings, copies C code), and generates a file which can then be run via a graphical user interface, such as interviews? For example, I can imagine an interface for the Unix tar facility which would have buttons for the various options (toggle button for -h (follow symbolic links), radio-button for -c/-x (create/extract), interactive file chooser for -f (filename), etc). If such a code processor existed (maybe an awk script?), would it be a good reason for people to use GetOpt more regularly and more consistantly? Michael