#!/usr/bin/expect -f spawn target/debug/rash send -- "echo foo | sed s/o/b/\r" expect -exact "fbo\r" expect eof