ksh and sh

Randy_Davis rjd at occrsh.ATT.COM
Fri Jul 21 12:16:57 AEST 1989


In article <372 at trevan.UUCP> trevor at trevan.UUCP (trevor) writes:
...
|	Is there anything wrong in changing the name of ksh to sh or
|is there any incompatability.

  It will break the at command, among other things...  When "at" saves your
enviroment for subsequent job execution, it goes through and saves all of
them.  The problem with this is that when the at job is later executed, at
tries to go through and restore all of the enviroment variables, including
the ksh-specific ones, such as RANDOM, PPID, PWD, RANDOM, SECONDS, and _
(last command line).  Now, at this moment I am not sure, but at least one
of these causes the "at" job to crash when it is restoring the enviroment.
It has been a while since I tried it - sorry if my memory is vague...

Randy Davis			UUCP: ...(att.att.com!)ocrjd.att.com!randy
				      ...(att.att.com!)occrsh.att.com!rjd



More information about the Comp.unix.questions mailing list