[TriLUG] bash, variables and expect

Matt Pusateri mpusateri at wickedtrails.com
Thu Jul 12 09:57:14 EDT 2007


What about using bash's built-in source command to read the variables in 
from a file?

Matt P.

Matthew Opoka wrote:
> 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
>   




More information about the TriLUG mailing list