3 ms·
I use expect all the time. It saves soo much typing. A while back I wrote a short blog post on it with a more advanced example on a debugging workflow with Rai
by julius 14y ago
I use expect all the time. It saves soo much typing.
A while back I wrote a short blog post on it with a more advanced example on a debugging workflow with Rails:
http://www.chocobrain.com/Terminal-Automation-expect-Advanced-automation/4NRKAvM2NWZqai6a3CoDQe http://www.chocobrain.com/Terminal-Automation-expect-Advance...
(ssh into production -> open rails-console -> type out initial commands -> let user enter commands)