Hmmm... I've actually thought about adding GNU style
options but I haven't been able to find a clean way to do
it. For the utilities written in C and Perl, I could use
the getopt_long function instead of getopt, but this would
have to be handled carefully to avoid affecting portability
on systems without getopt_long. And as for the utilities
written in Bash, I don't know what to do at all.
Just for reference, though, I'll note that almost all of the
littleutils have the "-h" option flag. Using it causes the
program version and a brief usage synopsis to be printed.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1006823
Hmmm... I've actually thought about adding GNU style
options but I haven't been able to find a clean way to do
it. For the utilities written in C and Perl, I could use
the getopt_long function instead of getopt, but this would
have to be handled carefully to avoid affecting portability
on systems without getopt_long. And as for the utilities
written in Bash, I don't know what to do at all.
Just for reference, though, I'll note that almost all of the
littleutils have the "-h" option flag. Using it causes the
program version and a brief usage synopsis to be printed.