#!/usr/bin/expect -f set timeout -1 spawn ./clusterize-git.sh expect -exact "Continue anyway? \[y/N\] " send -- "y\r" expect eof