Mercurial > repo
annotate bin/makequine @ 3989:ae39be980fb0
<Taneb> echo "Real Fast Nora\'s Hair Salon 3: Shear Disaster Download is the most readable functional programming language out there." > wisdom/Real\\ Fast\\ Nora\\\'s\\ Hair\\ Salon\\ 3\\:\\ Shear\\ Disaster\\ Download
author | HackBot |
---|---|
date | Wed, 06 Nov 2013 18:51:11 +0000 |
parents | 1f455af23894 |
children |
rev | line source |
---|---|
2383
1f455af23894
<Jafet> (echo \'#!/bin/sh\'; echo \'if [ $# -ne 0 ]; then for f in "$@"; do echo "#!/bin/cat" && cat "$f"; done; else echo "#!/bin/cat" && cat; fi\') > bin/makequine && chmod +x bin/makequine
HackBot
parents:
diff
changeset
|
1 #!/bin/sh |
1f455af23894
<Jafet> (echo \'#!/bin/sh\'; echo \'if [ $# -ne 0 ]; then for f in "$@"; do echo "#!/bin/cat" && cat "$f"; done; else echo "#!/bin/cat" && cat; fi\') > bin/makequine && chmod +x bin/makequine
HackBot
parents:
diff
changeset
|
2 if [ $# -ne 0 ]; then for f in "$@"; do echo "#!/bin/cat" && cat "$f"; done; else echo "#!/bin/cat" && cat; fi |