Bharathi, i actually want to capture the line "password" , i dont want to send any password. My requirement is not to send any password , i have to say that whole line in one variable of short.
I tried expect.pm but it doesn't help my cause. Any other suggestions ? Thanks, Santosh On Sat, Oct 10, 2009 at 11:22 PM, Bharathi Subramanian < [email protected]> wrote: > > > > The command is prompting for password , I want to capture "password" > > line. Is there any regular expression or way to do it. > > If you are looking for Expect like tool, search for "expect.pm" > > Bye :) > -- > Bharathi S > > -- D. Santosh Kumar RedHat Certified Engineer Every task has a unpleasant side .. But you must focus on the end result you are producing. [Non-text portions of this message have been removed]
