Hi
I want to run a script from another and I would like to [tt]source[/tt] it, but there are small problems :
[ol]
[li]Find out if it was [tt]source[/tt]d or runned[/li]
[li]Get the [tt]source[/tt] file's name and path [/li]
[li]Exit from the [tt]source[/tt]d file only[/li]
[/ol]
As I read the [tt]bash[/tt] man page, all above seems impossible. Do anyone know any solution ?
I prefer [tt]bash[/tt], but I will be happy to read about other shells too. Thanks.
Feherke.
I want to run a script from another and I would like to [tt]source[/tt] it, but there are small problems :
[ol]
[li]Find out if it was [tt]source[/tt]d or runned[/li]
[li]Get the [tt]source[/tt] file's name and path [/li]
[li]Exit from the [tt]source[/tt]d file only[/li]
[/ol]
As I read the [tt]bash[/tt] man page, all above seems impossible. Do anyone know any solution ?
I prefer [tt]bash[/tt], but I will be happy to read about other shells too. Thanks.
Feherke.