I have two shell scripts namely test1.sh and test2.sh
I have to call test2.sh from test1.sh
For test1.sh I need to pass one parameter as a command line argument
and for test2.sh I need to pass a parameter at the prompt.
Code sample:
$ cat test2.sh
echo "enter id value"
<br>read id
#do some processing here
How do I call test2.sh from test1.sh?
I can not edit test2.sh file here