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.

David Korn
[email protected]
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to