Hacker News new | past | comments | ask | show | jobs | submit login

expect is one of those true love/hate things. Probably because the situations in which you need to use it are likely cursed. My time spent dealing with expect scripts is always miserable, and yet I don't know what I'd do without it



I've mostly used it for testing and scripting CLIs. Are there any better ways to do that?


try using charm bracelets vhs tool to script the tests, then get the demo video as an animated gif for free.


> the situations in which you need to use it are likely cursed.

So true, and yet so common.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: