Skip to content

Instantly share code, notes, and snippets.

@larzconwell
Forked from Me1000/gist:3388879
Created August 18, 2012 18:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save larzconwell/3388925 to your computer and use it in GitHub Desktop.
Save larzconwell/3388925 to your computer and use it in GitHub Desktop.
#!/bin/bash
echo -e "Hi, I'm Douglas Crockford. Do you have an issue or a pull request?\n"
ask() {
read Type
if [[ "$Type" =~ "request" ]]; then
echo "You have the source."
elif [[ "$Type" =~ "issue" ]]; then
echo "My code is perfect."
else
ask $@
fi
}
ask
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment