Partha Pratim Ghosh wrote:
>
> Dear Rajat,
>
> Please correct me if I am wrong. "source <scriptname>" takes in
> a Tcl script as an argument. Does ANY shell script also do ?
'source' is a command understood by most shells and will take in (in
the current context) a script into the shell you are currently in. It
only takes in a Tcl script if your current shell is Tcl.
When you use the !# notation at the beginning of a script and execute
it from the command line, it forks a new environment which has its own
local variables, including current directory, path, and so on. Changing
these variables does not affect the parent environment (Could you just
imagine the mahem if a user-level shell call could change the
environment variables for INIT ;-)
---
Russell McOrmond, Internet Consultant: <http://russell.flora.org/work/>
�Researching Group Calendar:
http://www.cyblings.on.ca/projects/calendar/
--
To unsubscribe, send mail to [EMAIL PROTECTED] with the body
"unsubscribe ilug-cal" and an empty subject line.
FAQ: http://www.ilug-cal.org/help/faq_list.html