cc: [email protected]
Subject: Re: Re: [ast-users] Is there a simple way for a script to know if it's 
run  as a script (ksh script ) or sourced (. script) ?
--------

> Question to David and Glenn: When was .sh.file introduced?
> 
> Cheers,
> Henk
> 

The .sh.file, .sh.fun, and .sh.subshell variables were introduced on
March of 2003.


Howver, on 2009-08-26 the followng bug was fixed.

The .sh.file variable was not being set for a script that was run
by name and didn't start with #! and this has been fixed.


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

Reply via email to