News for hackers. Stuff that matters.
Re:Most programmers don't know what Expect can do for them by rowanG077 on Sunday September 08, 2019 @12:21PM (#20911446)
Have you ever asked yourself if an API can return an infinite amount of responses how many conditional you would need to handle that?

The output of a terminal is just simply too unstructured to work in any high reliability environment.

Re:Most programmers don't know what Expect can do for them by GhettoMaestro on Sunday September 08, 2019 @05:01PM (#20913389)
I would agree that using a pure CLI (Unix Shell) requires significant operator skill to not accidentally blow things up. But that is also why you write scripts, test them, etc.

Sitting at a root shell executing untested or uncertain things is pretty high on the list of don't do these things.