sh files question

Erik Christiansen dvalin at internode.on.net
Wed Oct 29 09:57:25 UTC 2008


On Tue, Oct 28, 2008 at 04:22:37PM -0500, Anna EdwARds wrote:
>  
> Is this possible in an sh file or do i have to use the broom myself?

It has historically been difficult to automate stimulus-response actions
in shell scripts. The TCL-derived "expect" language is designed for this
job, and served me well when I had to automate remote interaction with a
machine half way around the world.

Whether it's worthwhile learning another scripting language usually
depends on how often you have to get the broom out.

Erik




More information about the ubuntu-users mailing list