On Tue, Jan 10, 2012 at 22:57, David Korn <[email protected]> wrote:
> cc: [email protected] > Subject: Re: [ast-users] [ksh93] RFE: New `set -o' option to change alias > expansion behavior when dotting (.) rc files? > -------- > > > Ksh has following note in the manual: > > > > | The built-in command . file reads the whole file before any > > commands > > | are executed. alias and unalias commands in the file do not > > apply to > > | any commands defined in the file. > > > > > > This requirement comes from the Bourne shell. ksh tries to stay > compatible as much as possible so that old scripts continue to run. > > However, the rule about reading and parsing the whole script before > executing any commands does not apply when processing the profiles, > /etc/profile, .profile, .ksh.rc, and $ENV. It only applies to the . > command. > The problem for me is that I like to put different settings in more than one kshrc files which are sourced (.) from $HOME/.kshrc . :) > > David Korn > [email protected] >
_______________________________________________ ast-users mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-users
