[TriLUG] Perl. Help. Needed.

shawn.taylor at gpi.com shawn.taylor at gpi.com
Wed Mar 11 15:38:58 EDT 2009


I am by no means a perl or expect guru, but why can't you do something 
like:

./script.pl > myfile.out

Since the script uses the expect module, there should be no required user 
interaction no?

Shawn

Greg Wrote:

Let me step back and take a breather.. how do I redirect the output of 
this
command:

print $ssh "exec \"show run\"\r";

I think I've tried everything.  I'm open to any and all suggestions.


More information about the TriLUG mailing list