Mail Archives: djgpp/1994/03/28/14:29:16
>Also, I think UNIX C runtime libraries DON'T put the full path name in
>argv[0]. Argv[0] contains whatever the program that called exec()
>puts in it. On UNIX, ksh seems to put whatever the user typed, not
>the fully qualified path. I don't know about other shells.
Some other Unix shells:
bash: full path name (e.g. /usr/jon/bin/hello)
csh: full path name
sh: what the user types (e.g. hello)
This is the result of one test, so I wouldn't swear to it in court;
but I think it's correct.
Jonathan Ryshpan <jon AT halsp DOT hitachi DOT com>
===============> I write for myself ONLY. <===============
- Raw text -