|
From: Robert L. H. <Rob...@rd...> - 2002-05-21 16:50:34
|
First post, hopefully on topic.
I have a first perl/expect script attempt going. I have the main
structure and loop set up. It's working fine. I'm trying to ssh to a
remote server to execute a command. I then want to funnel the output
back to an array.
Does anyone have anything similar I can take apart and learn from? A
couple of the problems I'm hitting. How do I turn off echo from my
spawn commands? How do I shove my output back into my array? I'm not
seeing a method for this.
:wq!
---------------------------------------------------------------------------
Robert L. Harris | Micros~1 :
Senior System Engineer | For when quality, reliability
at RnD Consulting | and security just aren't
\_ that important!
DISCLAIMER:
These are MY OPINIONS ALONE. I speak for no-one else.
FYI:
perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
|