Hacker Times
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tyingq
on Sept 8, 2019
|
parent
|
context
|
favorite
| on:
Most programmers don't know what Expect can do for...
There's also Perl's Expect.pm. I know Perl isn't popular here, but it excels in this sort of use case. The compact syntax for regexes on responses makes it a good match for expect scripting. It can also be paired with IO:Pty for some advanced stuff.
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: