[wplug] Help with expect - sending special chars

Ben Beige dariuscardren at gmail.com
Fri Sep 18 15:21:25 EDT 2009


no idea if this would work, but send the ascii code for $?


Ben Beige
dariuscardren at gmail.com



On Fri, Sep 18, 2009 at 3:13 PM, scoob8000 <scoob8000 at gmail.com> 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.
>
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug
>
>


More information about the wplug mailing list