|
From: | Canellas |
Subject: | Re: answer to shell script question after login |
Date: | Mon, 12 Dec 2011 11:54:13 -0200 |
> I appreciate a lot your help, but it still does not work. I am
> confident the regex is correct, so I think it is something else.
>
> (defconst dpa-prompt "19- MDBACT.+")Maybe there is a trailing newline at the end of the login
message. ".+" does not match newlines.
Therefore, a valid regexp might be "19- MDBACT[^[:nonascii:]]+".
> Thanks!
>
> Rodrigo Canellas
Best regards, Michael.
[Prev in Thread] | Current Thread | [Next in Thread] |