Subject: Re: [ast-users] Ksh 93 ENV
--------

> Hi,
> 
> How can I get ksh93 to behave like ksh88 with respect to $ENV execution
> for scripts that contain a #!/bin/ksh shebang line?  See my comparison
> below.   Please note the .env didn't execute for ksh93.  I also tried
> #!/bin/ksh -i
> 
> 

ksh93 only executes is supposed to execute the $ENV file for interactive
shells in accordance with POSIX.

However, #!/bin/ksh -i didn't work because of a bug which will be
fixed in the next update.

A work around is to use
        #!/bin/ksh -E
or equivalently
        #!/bin/ksh --rc

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

Reply via email to