Skip to content

Instantly share code, notes, and snippets.

@andresvia
Created December 7, 2016 19:30
Show Gist options
  • Save andresvia/fff01a2596f672dbd90fe9ed22e8a0fa to your computer and use it in GitHub Desktop.
Save andresvia/fff01a2596f672dbd90fe9ed22e8a0fa to your computer and use it in GitHub Desktop.
#!/bin/bash
set -e -u
echo -n "read a var: "
read -r a_var
echo "you typed ${a_var}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment