![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Another question regarding yes
I have a program that takes two responses, for example:
./eatfruit <stdout> Enter fruit: Do you want to eat fruit?: <end stdout> If I do this yes banana ./eatfruit <stdout> Enter fruit: banana Do you want to eat fruit?: <end stdout> I wonder if it's possible to answer the second response with yes in the same line? |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|