Net-Appliance-Session - Re: How to send a carriage return?

Posted on Mon Jan 28 22:38:49 2008 by chicks1dig1unix in response to 6954 (See the whole thread of 5)
Re: How to send a carriage return?
Hi, thanks for your reply.. I tried this for my prompt, which is : This command will reload the Active unit. Proceed ? [confirm] Even after escaping the dot and brackets, it didnt work.. so I put the whole string into $prompt and did a
( string=("/n", Match=>[/$prompt/],);
It should interpolate the variable since its just a matching statement - This didnt do it either So last effort was to feed the output of the previous command to the $prompt variable ( which would just be the next prompt) and match that. And the string I used was still "/n". Still doesnt appear to read it Do you see if I am doing something wrong?
Direct Responses: 6959 | Write a response