In my .kshrc I would like to know if the shell "dotting" me in is
interactive or batch. Depending on this switch I'll either print
a prompt or not, or a title to an xterm window. Basically if you do
a set -o it prints a list of options, so you grep for interactive
and look for on or off. Is there another way?
Thanks!
Vijay Bajwa