
standard input and output question
Quote:
>> Hello,
>> I am a dummy in ShellScript.
>> How to send the INPUT parameter to a program when it ask for input ? for
>> example, just like "ftp", when I type "ftp localhost", it will ask for
>> username and password. How to send the username and password to that ?
[ .... ]
Quote:
> Not for ftp and such. You need to learn to sue expect.....
Hey, just leave expect out of this. What has expect ever done to you? :-)
Quote:
> This has nothing to do with awk, though.
No.
--
Alan Mackenzie (Munich, Germany)
(like "aa"), remove one of them (leaving, say, "a").