[EXPECT] Reading a response into a variable

From: Chris (creynolds_at_mfncuso.org)
Date: 08/04/04


Date: 4 Aug 2004 11:45:29 -0700

I'm currently using EXPECT to automate a telnet session that is a
daily occurence for our office. Is there a way for me to capture the
entire string that responds after I issue a send command? In other
words, how can I capture the entire string that expect uses to find my
expect qualifier?

Thanks



Relevant Pages

  • Re: [EXPECT] Reading a response into a variable
    ... >> daily occurence for our office. ... Is there a way for me to capture the ... how can I capture the entire string that expect uses to find my ... > documentation. ...
    (comp.lang.tcl)
  • Re: Length of longest contiguous digits exercise
    ... this contiguous block of 1s is remembered ... string must not appear at any other point in the string. ... this is undefined when there is no capture ... (which happens when there are no digits in the ...
    (comp.lang.javascript)
  • Re: Regex Capture problem
    ... "learned" my regex using a freeware utility that had slightly different ... was trying to capture instead of. ... I have used Regex utilities before, so I understand the concepts of text ... Function RESub(str As String, SrchFor As String, ReplWith As String) As String ...
    (microsoft.public.excel.programming)
  • Re: SQL - Capture Specific Text and Copy to New Column/row
    ... The script is: ... Please advise of how I may capture only the date/time data. ... wildcard characters as characters in the string. ... by the Option Compare setting of the module. ...
    (microsoft.public.access.modulesdaovba)
  • Re: Regular Expression Hangs
    ... You wouldn't need a regular expression to ... a single fixed string. ... Those patterns are defined by rules that are expressed in the ... will capture the following: ...
    (microsoft.public.dotnet.languages.csharp)