b***y 发帖数: 2799 | 1 ☆─────────────────────────────────────☆
johny (猴年马月) 于 (Wed Aug 31 02:18:06 2005) 提到:
Environment: C Shell
A command will pop up a interactive menu to let user select one of the options
.
Assume the option is determined, how to wrap the command and the option into a
shell script that will run the command at one go without any input from users
?
Further problem: if the pop-up menu has a sub-menu, how to wrap the sub-menu
option together with the command into the shell script?
Thanks in advan |
|