Andreas Schwab wrote: > Bob Proulx writes: > > > #!/bin/bash > expect -c '...' "$_usr" "$_host" "$_passwd"
Of course that works too. Why were you so late to share this wisdom? > RTFM? It has probably been more than fifteen years since I have done any significant work with expect. And in the latter part I always used the perl library. Sometimes I want to help people and will suggest what I know but am lacking the infinite time and resources needed to know everything. I still believe sharing what I can is better than to keep useful information private. If nothing else it will annoy those who do to contribute something better. Bob