Created
January 14, 2019 01:01
-
-
Save activedecay/142abd9838f5f06542027844057fa0d7 to your computer and use it in GitHub Desktop.
input from users until ctrl-c
This file contains hidden or 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 bash | |
while read -p "in >" line; do | |
echo line was ${line} | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment