From: hadi motamedi on 10 May 2010 01:50 > regexp in the expected patterns. Try the simplest expect script, i.e, one > that only logs in and logs out. > > > Thank you very much for your reply. I got help from your comment regarding try for a simple script that just logs in and logs out. I tried for it and I saw that it does not require hitting Ctrl-C at the end. Then I tried for the real script and with comparing them with each other I modified my script and it now works well. Thank you again
From: d.sastre.medina on 10 May 2010 16:00 On Mon, May 10, 2010 at 06:43:03AM +0100, hadi motamedi wrote: > I tried for it and I > saw that it does not require hitting Ctrl-C at the end. Then I tried for the > real script and with comparing them with each other I modified my script and > it now works well. > Thank you again And wasn't that process much more helpful and productive than any other? You _do_ learn through trial and error. Thank you for trying. Bests regards. -- Huella de clave primaria: 0FDA C36F F110 54F4 D42B D0EB 617D 396C 448B 31EB
First
|
Prev
|
Pages: 1 2 Prev: Bug#580459: isn't sed s,x,x, one big no-op? Next: How to flush cache of certain disk? |