> This approach does not work if the program is being exec'd > and the exec() call sets argv[0] to something strange.
Leaving argv[0] set to the original command (then exec()) or setting it to "something strange" are very useful features of the UNIX API. Good stuff. (But doesn't help Neale.) -- RMT
