tcsh : path of sourced file

Posted by Charles on Server Fault See other posts from Server Fault or by Charles
Published on 2010-05-06T16:49:54Z Indexed on 2010/05/06 16:59 UTC
Read the original article Hit count: 334

Filed under:
|

I am sourcing a file under tcsh. This file could be anywhere on the filesystem. How can I retrieve the path of my sourced file ?

$0 won't work : I don't execute the file, I source it.

Many thanks !

© Server Fault or respective owner

Related posts about tcsh

Related posts about unix-shell