Skip to content

patched xkcd-149 make-me-a-sandwich

Proposed patched version (1) of xkcd-149 a.k.a. sudo make me a sandwich:

Make me a sandwich v2

Make me a sandwich v2

Tested in bash only… feel free to propose patches for other shells :)

4 Comments

  1. pvandewyngaerde wrote:

    and next time it’s just

    !s

    make sure you have your build-essential packages installed to be able to run make :-)

    Tuesday, June 9, 2009 at 12:07 | Permalink
  2. Vomit wrote:

    make me a sandwich
    make: *** Er is geen regel om doel ‘me’ te maken. Gestopt.

    make `whoami` a sandwich
    make: *** Er is geen regel om doel ‘vomit’ te maken. Gestopt.

    Dammit, doesn’t work without a girlfriend :-)

    Tuesday, June 9, 2009 at 18:52 | Permalink
  3. Philip Paeps wrote:

    Yet another feature bash “borrowed” from csh… History substitution rules. With tcsh and zsh you have extreme control over it and you don’t hurt your teeth.

    Wednesday, June 10, 2009 at 14:58 | Permalink
  4. Vomit wrote:
    Wednesday, July 22, 2009 at 21:48 | Permalink

Analytics Plugin created by Web Hosting