|
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?
|