I recently happened to invoke the restricted shell for ksh-20140929
and an error message immediately appeared. I didn't remember this
happening with prior versions of ksh, so I tried the older versions that
I have and found this:

$ rksh +E
$ rksh[1]: /dev/null: restricted
print ${.sh.version}
Version ABIJM 93v- 2014-09-29
$ exit
$ ksh-20120612 -r +E
$ ksh-20120612[1]: /dev/null: restricted
print ${.sh.version}
Version AJM 93u+ 2012-06-12
$ exit
$ ksh-t -r +E
$ print ${.sh.version}
Version M 93t 2008-11-04
$

This shows that it goes back to at least ksh-20120612. But, the error
message does not appear when inoking the restricted shell with
ksh-20081104. It only appears when the restricted shell is invoked
interactively. Note that I used +E above. So, this is not coming from
the $ENV file. And, since I'm already logged in when I invoke the
restricted shell, it's not coming from .profile or /etc/profile, either.

                    Terrence Doyle
_______________________________________________
ast-users mailing list
ast-users@lists.research.att.com
http://lists.research.att.com/mailman/listinfo/ast-users

Reply via email to