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
Tested in bash only… feel free to propose patches for other shells
This was written by
Serge van Ginderachter. Posted on
Tuesday, June 9, 2009, at 10:13. Filed under
Archive. Tagged
linkedin. Bookmark the
permalink. Follow comments here with the
RSS feed. Both comments and trackbacks are currently closed.
4 Comments
and next time it’s just
!s
make sure you have your build-essential packages installed to be able to run make
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
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.