in reply to Different meanings of $0 under the same operating system
Furthermore, there is yet a 4th possibility - normally only noticed under one of the std *NIX shells whereby, if a script is 'dot'ted or 'source'ed, $0 is the name of the shell in which the 'dot'/'source' command is run - the perl equivalent of which is to do knowthyself from another script.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Different meanings of $0 under the same operating system
by Jorge_de_Burgos (Beadle) on Nov 03, 2009 at 18:51 UTC | |
|
Re^2: Different meanings of $0 under the same operating system
by JavaFan (Canon) on Nov 03, 2009 at 21:54 UTC | |
by Bloodnok (Vicar) on Nov 04, 2009 at 01:52 UTC | |
by JavaFan (Canon) on Nov 04, 2009 at 08:23 UTC | |
by ikegami (Patriarch) on Nov 04, 2009 at 02:36 UTC |