Matthew Woehlke wrote:
> all of which should probably be symlinks to/copies of one program
> that changes default behavior based on its argv[0].)
No, please don't. It means that programs change their behavior based
upon their names. When a the program is copied or renamed it no
longer works the same. Having been burned by that myself it is now
one of my pet peeves.
http://www.gnu.org/prep/standards/html_node/User-Interfaces.html#User-Interfaces
Please don't make the behavior of a utility depend on the name used to
invoke it. It is useful sometimes to make a link to a utility with a
different name, and that should not change what it does.
Instead, use a run time option or a compilation switch or both to
select among the alternate behaviors.
Bob