ksh and sh

Eduardo Krell ekrell at hector.UUCP
Wed Jul 19 07:51:50 AEST 1989


In article <8272 at boring.cwi.nl> aeb at cwi.nl (Andries Brouwer) writes:

>I have been bitten several times, especially when installing new
>versions of system software, by the fact that ksh does not
>search the PATH for each command, but remembers where the command
>was. (I.e., some commands, sometimes all commands,
>are tracked aliases. There is an option to make all commands
>tracked aliases, but none to switch off this `feature'.)

I believe all you have to do is change the value of $PATH to
force ksh into unbinding all the tracked aliases. I use

PATH=$PATH

which doesn't change the value of $PATH, but makes ksh throw
away the old bindings.
    
Eduardo Krell                   AT&T Bell Laboratories, Murray Hill, NJ

UUCP: {att,decvax,ucbvax}!ulysses!ekrell  Internet: ekrell at ulysses.att.com



More information about the Comp.unix.questions mailing list