Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dollar sign as prompt

Status
Not open for further replies.
Apr 8, 2014
13
US
I have tried every possible combination and ways to detect a "$" as a prompt and it won't detect it.

Code:
expect -re "(\\\$) $"
expect -re "{[$]} $"
expect -re "\\\$"
expect -re "\\$ $"
expect -re "\\\$ $"
expect -re "(\\$)"

Nothing works. Any other combinations?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top