Help to explaining a command in run dot tcl

Hi,

I'm running a rdt (run dot tcl) command, and come accross this line:

alias abc 'set ARGS =(\!*);  source home123/abc/$ARGS/setup'

What does the command exactly do?
Please help.

Check this link out for an explanation of 'source':
source manual page - Built-In Commands

1 Like

What about the --> set ARGS =(\!*)
what is that for?

I'm not sure, What Shell are you using( i.e. ksh, bash, csh, etc.)?
Looks like it is setting up a 'alias' with the below command so that it can quickly be executed when "abc" is entered on the command line:

alias abc 'set ARGS =(\!*);  source home123/abc/$ARGS/setup'

He said it's TCL I believe, a language unfortunately I know little of

1 Like

It's probably "tcsh" or "csh", so check out the info for using "alias"(i.e.\!*) at this link:Writing Aliases in csh and tcsh

1 Like

thanks guys..
the link provided by spacebar is very helpful for this understanding..
much appreciated`