To: dave AT babel DOT ho DOT att DOT com (Dave Hayden 908- 946-1107) Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: argv[0] problem (unwanted path in printout) Date: Mon, 28 Mar 94 10:42:29 PST From: Jonathan Ryshpan >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 ===============> I write for myself ONLY. <===============