Mercurial > repo
annotate bin/makequine @ 2701:24adefff7ee6
<shachaf> >wisdom/torus echo \'Topologically, a torus is a torus. Taneb invented them.\'
author | HackBot |
---|---|
date | Sun, 14 Apr 2013 14:43:48 +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 |