4 ms·
That was my first thought. Both the bash and expect scripts seem more complicated than the equivalent Python. expect requires me to know a fairly niche DSL, a
by everforward 4y ago
That was my first thought. Both the bash and expect scripts seem more complicated than the equivalent Python.
expect requires me to know a fairly niche DSL, and the bash version requires me to remember a bunch of arcane info like the ability to make TCP connections by echoing into /dev.
I would push back on an MR with either of the first two. The bash+nc one I could live with, though.