Behaviour of ksh(1)

2013-05-02 Thread Daode
Hi, you should try echo BEFORE unset KSH_VERSION echo AFTER in your ~/.shrc (note: i include that from within my ~/.profile and let it auto-protect itself against multiple inclusions since my shell startup scripts are multi-platform multi-shell, all in two). Note it doesn't matter if you

Re: Behaviour of ksh(1)

2013-05-02 Thread Ted Unangst
On Thu, May 02, 2013 at 13:12, Steffen Daode Nurpmeso wrote: Hi, you should try echo BEFORE unset KSH_VERSION echo AFTER ksh: unset: KSH_VERSION is read only So don't unset it?

Re: Behaviour of ksh(1)

2013-05-02 Thread Daode
Ted Unangst t...@tedunangst.com wrote: |On Thu, May 02, 2013 at 13:12, Steffen Daode Nurpmeso wrote: | Hi, you should try | | echo BEFORE | unset KSH_VERSION | echo AFTER | |ksh: unset: KSH_VERSION is read only | |So don't unset it? Yep it's nasty hah. Still, you get BEFORE ksh: