Skip to content

Instantly share code, notes, and snippets.

@manastungare
Created May 7, 2012 16:18
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 manastungare/2628724 to your computer and use it in GitHub Desktop.
Save manastungare/2628724 to your computer and use it in GitHub Desktop.
sudo make me a sandwich
me:
@if (( `id -u` != 0 )); then { echo "What? Make it yourself."; }; else { echo "Okay."; } fi
a:
@true
sandwich:
@echo "Hat-tip to http://xkcd.com/149/"
$ make me a sandwich
What? Make it yourself.
Hat-tip to http://xkcd.com/149/
$ sudo make me a sandwich
Okay.
Hat-tip to http://xkcd.com/149/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment