Roland Mainz wrote:
> Uhm... there is no "fixed" format - /etc/ksh.kshrc is a shell script
> (fragment) which gets sourced before ~/.kshrc ...

Make that 'sourced before $ENV'.  Note that ENV has
to be set before the shell is invoked.

 ENV    If this  variable  is  set,  then  parameter
        expansion,  command substitution, and arith-
        metic  substitution  are  performed  on  the
        value to generate the pathname of the script
        that will be  executed  when  the  shell  is
        invoked  (see  Invocation below).  This file
        is typically used  for  alias  and  function
        definitions.     The    default   value   is
        $HOME/.kshrc.


I remember a Certification question that asked for the
correct order of /etc/profile, .kshrc, and ~/.profile.
Bad question, no cookie.

If there would be any default, it should use arrow keys.
A beginner wouldn't expect anything more than that.

Regards,


-- 
Henk Langeveld
20+ years of ksh and vi myself.  But that is not part
of this argument.

Reply via email to