[TriLUG] bash, variables and expect

jonc at nc.rr.com jonc at nc.rr.com
Thu Jul 12 10:06:12 EDT 2007


One sure fire way would be to dump the variables to a temp file, then
read the variables from within Expect. I've never used expect... though
it looks interesting.

Jon

----- Original Message -----
From: Matthew Opoka <matthew at opoka.name>
Date: Thursday, July 12, 2007 9:03 am
Subject: [TriLUG] bash, variables and expect
To: trilug at trilug.org

> All,
> 
> If you call an expect script in bash, how do you get the expect 
> script to see the bash variables or is this possible?   I tried 
> exporting the variables but that didn't work.
> 
> 
> Regards,
> 
> Matthew
> -- 
> TriLUG mailing list        : 
> http://www.trilug.org/mailman/listinfo/trilugTriLUG Organizational 
> FAQ  : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> 



More information about the TriLUG mailing list