-
-
Save larzconwell/3388925 to your computer and use it in GitHub Desktop.
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
#!/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