I have a shell script to which I pass several parameters. Test1.sh -a 1 -b 2 -c "One Two Three"
Inside Test1.sh, I call another shell script below. Test2.sh $*
I want to pass all the Test2 parameters that were passed to Test1, also in the same format (with double quotes, etc.). However, the parameters that are passed to Test2 are Test2.sh -a 1 -b 2 -c One Two Three which does not work for me. Is there a way around it so that I can pass parameters just like I pass Test1.
Thanks Zabi
source share