Script to call a menu script and redirict each option to a text file

view story

http://www.unix.com – Hello, I want to design a script that will call an existing menu script and select options one by one and redirict the out put to a file. For example;- In the script MENU.sh there are 10 options i want to design a script MENU2.sh that will select option 2 3 4 6 7 10 and redirict the output to xyz.txt Could you please help me on this Thanks (HowTos)