Last active
December 19, 2015 18:19
-
-
Save tonejito/5997638 to your computer and use it in GitHub Desktop.
find-love - Helps to find love in life
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 -vx | |
# find-love - Helps to find love in life | |
# Andres Hernandez - tonejito | |
egrep '<3|love' /var/log/life &>/dev/null | |
LUCK=$? | |
case "$LUCK" | |
in | |
0) | |
# Good luck \o/ | |
echo "= <3 . <3 =" | |
;; | |
1) | |
# Try again later /o\ | |
echo "= T . T =" | |
;; | |
2) | |
#ForeverAlone <xD/> | |
echo "= X . X =" | |
;; | |
esac | |
exit $LUCK |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment