由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - Shell script problem? (转载)
相关主题
where can I find some good website for C Shell ?AIX shell configuration
为什么我就是不会写Shell script?Re: how to change my default shell
help shell script (waiting on line)Perl问题求助 (转载)
shell programming problems请教:Variable in sed command
帮帮忙,用C作一个SHELLhow to get the backgroup run state?
[转载] how to get the return value of a command by shell?a painful problem
Re: [转载] how to get the return value of a command by shell?在ksh,和source类似的command是什么?
shell question , help?which shell is best?
相关话题的讨论汇总
话题: shell话题: menu话题: script话题: command话题: problem
进入Unix版参与讨论
1 (共1页)
j***y
发帖数: 2074
1
【 以下文字转载自 Programming 讨论区 】
发信人: johny (猴年马月), 信区: Programming
标 题: Shell script problem?
发信站: BBS 未名空间站 (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 comm
x******g
发帖数: 3952
2
Try expect?

options
a
users

【在 j***y 的大作中提到】
: 【 以下文字转载自 Programming 讨论区 】
: 发信人: johny (猴年马月), 信区: Programming
: 标 题: Shell script problem?
: 发信站: BBS 未名空间站 (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
: ?

o**v
发帖数: 1662
3
try whiptail

options
a
users

【在 j***y 的大作中提到】
: 【 以下文字转载自 Programming 讨论区 】
: 发信人: johny (猴年马月), 信区: Programming
: 标 题: Shell script problem?
: 发信站: BBS 未名空间站 (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
: ?

1 (共1页)
进入Unix版参与讨论
相关主题
which shell is best?帮帮忙,用C作一个SHELL
shell programming[转载] how to get the return value of a command by shell?
Shell ScriptRe: [转载] how to get the return value of a command by shell?
How to set environment variables for CGI scripts?shell question , help?
where can I find some good website for C Shell ?AIX shell configuration
为什么我就是不会写Shell script?Re: how to change my default shell
help shell script (waiting on line)Perl问题求助 (转载)
shell programming problems请教:Variable in sed command
相关话题的讨论汇总
话题: shell话题: menu话题: script话题: command话题: problem