Passing partial arguments in tcshell
Posted
by R S
on Stack Overflow
See other posts from Stack Overflow
or by R S
Published on 2010-05-08T14:16:01Z
Indexed on
2010/05/08
14:28 UTC
Read the original article
Hit count: 140
Hey,
I'm writing a shell script (tcsh) that is supposed to received 3 parameters or more. The first 3 are to be passed to a program, and the rest are supposed to be passed to another program. All in all the script should look something like:
./first_program $1 $2 $3
./second program [fourth or more]
The problem is that I don't know how to do the latter - pass all parameters that are after the third.
© Stack Overflow or respective owner