Mercurial > repo
annotate bin/makequine @ 7094:4a2788609dc2
<b_jonas> learn Elendil decided to try to save Numenor from its awful end by navigating to the undying lands and appealing to the Valar, but then he changed his mind, saved his family only and founded a new empire in Middle-earth.
author | HackBot |
---|---|
date | Sat, 05 Mar 2016 22:07:12 +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 |