Created
March 2, 2019 05:23
-
-
Save lotuc/5851cb62d45437fa48fb70d90664ae2c to your computer and use it in GitHub Desktop.
MISC Scripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env expect | |
spawn some command ... | |
expect 'some string' | |
send 'sth...\n' | |
# Interaction (eg, for a shell) | |
interact |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment