Basically, I want to be able to call $* in a bash script, to represent all arguments after the script is called, but I want it to ignore the first two. ($1 and $2)
So for simplicity’s sake, if all the script did was just echo back the arguments, it should behave as such:
$ myscript.sh first_argument second_argument foo bar baz blah blah etc
foo bar baz blah blah etc
Is there an easy way to do this? By the way, there should be no limit to the amount of text after the first and second argument, if that amount were known, I could easily call them individually, like $3 $4 $5 $6 …
I hope that was clear.
Thanks,
Kevin
Probably shift will help you.