bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bash sourcing


From: Nambi Sankaran
Subject: bash sourcing
Date: Fri, 8 Apr 2005 00:08:24 -0700

while sourcing a file in bash, like " . ./setenv.sh ",
inside setenv.sh, i want to get the name of the sourced file.

in pdksh, i used $_ , which contained the last argument of the present command.

what is the equivalent in bash ?

--
Nambi S
408.480.0039 [c]
http://opentrade.sf.net
reply via email to

[Prev in Thread] Current Thread [Next in Thread]