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
_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to