I have a shell script to which i am passing few parameters.
Test1.sh -a 1 -b 2 -c "One Two Three"
Inside Test1.sh i am calling another shell script in the below fashion.
Test2.sh $*
I want to pass all the parameters to Test2, that were passed to Test1 and also in the same format (with double quotes etc).
However the parameters that get passed to Test2 are
Test2.sh -a 1 -b 2 -c One Two Three
which doesnt work for me. Is there a way around it so that i can pass the parameters the same way as I am passing to Test1.
Thanks Zabi