[wplug] Help with expect - sending special chars
Eric Cooper
ecc at cmu.edu
Fri Sep 18 15:33:00 EDT 2009
On Fri, Sep 18, 2009 at 03:13:50PM -0400, scoob8000 wrote:
> I'm trying to automate a telnet session to make hundreds of changes
> for me. So far expect seems to be the best solution. But I need to
> send a $ as part of my command. I for the life of me cannot figure
> out how to make expect to quit seeing it as a variable. I think
> I've tried about everything, double quotes, escaping it with a \,
> etc.
I found a random page that claims "\\$" should work, but I haven't
tried it myself.
--
Eric Cooper e c c @ c m u . e d u
More information about the wplug
mailing list