Make Me a Sandwich

You may be familiar with xkcd's comic #149, and the ensuing tee-shirt. This has been a bit of a running joke in the Butter office, often coming up when teaching someone the basics of linux commands. As it's one of our developer/project manager's, Eve's, last day today, I decided to put together a little parting gift in the form of a bash script.

sudo makemeasandwich

For anyone that's interested here's the code:

if [ "$UID" -ne  0 ]; then
 echo "make your own damn sandwich.";
 exit $E_NOT_ROOT;
 echo '

               _.-~       ~-._
           _.-~               ~-._
       _.-~                       ~---.
   _.-~                                 ~\
.-~                                    _.;
:-._                               _.-~ ./
`-._~-._                   _..__.-~ _.-~|
 /  ~-._~-._              / .__..--~----.
\_____(_;-._\.        _.-~_/       ~).. . \ 
   /(_____  \`--...--~_.-~______..-+_______)
 .(_________/`--...--~/    _/           /\
/-._     \_     (___./_..-~__.....__..-~./
`-._~-._   ~\--------~  .-~_..__.-~ _.-~
    ~-._~-._ ~---------   / .__..--~
        ~-._\.        _.-~_/

On a side note, I'll take this opportunity to wish Eve the best of luck for the future. Eve was Digital Butter's first employee, and our office is definitely not going to be the same without her. I know she will be missed by both our team and our clients.

Tags: bash
Comments (6)
  1. best essay writers online:
    Feb 09, 2015 at 11:31 AM

    I agree accompanying the enter. The best essay writers online are those who possess been at it for a during pronto. They care to possess greater enjoin of the phraseology further the means they introduce the volume in a sheet. I ample like them to novices.

    Feb 09, 2015 at 11:41 AM

    Your reference to was so on moment! I was on the edge of overall fear whereas you posted this concatenation on your blog. I had trio papers to do furthermore nay adequate term to experiment besides do them myself. This scene entirely turned this approximately as they researched wrote besides delivered my papers in nice cycle! Acknowledges!

  3. super sharp cheddar:
    Feb 19, 2015 at 02:02 PM

    Linux commands are like Chinese for me, and know nothing about the language. I am a computer science student and would like to know more on C language. Could you please refer me to any websites that can help me learn the language well?

  4. Solar Powered Car:
    Feb 24, 2015 at 01:18 AM

    If your looking for Online Illinois license plate sticker renewals then you have need to come to the right place.We offer the fastest Illinois license plate sticker renewals in the state. We are tied directly into the sate’s renewal database which allows us to process your request almost instantly.

  5. give you 72 dofollow blog commets Pr7 to Pr2 exclusive offers:
    Feb 24, 2015 at 11:36 PM

    If You Are Looking To Increase The Search Engine Page Rank Permanently And Online Visibility Of Your Website, Please Try Our HIGH Quality Actual Page Rank Pr2 To Pr7 Manual Blog Commenting Service. Google Love Unique Content, And If Your Backlinks Are Coming From High PR Pages With A Unique Content, You Will See Increase In The SERP And Online Visibility Of Your Website.

  6. Decorated Classroom Doors:
    Mar 02, 2015 at 01:43 AM

    Very nice website and articles. I will be realy very pleased to visit your website. Now I am found that we actually want. I check your website everyday and attempt to learn something from a blog. Thank you and looking forward to your new submit.

Allowed tags: <b><i><br>Add a new comment: