Re: .shrc vs ~/.shrc

2013-08-12 Thread Miod Vallat
> $ . .shrc > /bin/ksh: .: .shrc: not found > $ . ~/.shrc > $ echo $SHELL > /bin/ksh > > Why is it that ksh can find ~/.shrc and '.' it, > but cannot find .shrc, which is the very same file? Because '.' is not in your $PATH. Miod

.shrc vs ~/.shrc

2013-08-12 Thread Jan Stary
This is what happens on 5.4-beta/i386 (and any other version I got my hands on): $ cd $ pwd /home/hans $ . .shrc /bin/ksh: .: .shrc: not found $ . ~/.shrc $ echo $SHELL /bin/ksh Why is it that ksh can find ~/.shrc and '.' it, but can