in reply to question for open2, and by the way, resolves an old thread
The most robust solution would probably be to use Expect but that would probably require rewriting more code. You could just scan the output from <$reader> and look for the next prompt line. You'll have to know what the prompt looks like but you'll probably need to know that to use Expect anyway.
bbfu
Black flowers blossum
Fearless on my breath
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (Expect) Re: question for open2, and by the way, resolves an old thread
by pg (Canon) on Jan 17, 2003 at 19:46 UTC | |
by tye (Sage) on Jan 17, 2003 at 20:43 UTC | |
|
Re: (Expect) Re: question for open2, and by the way, resolves an old thread
by jdporter (Paladin) on Jan 17, 2003 at 19:42 UTC |