annotate bin/makequine @ 12271:6389adbc4a0d draft

<kspalaiologos> fetch /hackenv/asmbf-1.2.6.zip https://github.com/KrzysztofSzewczyk/asmbf/archive/master.zip
author HackEso <hackeso@esolangs.org>
date Tue, 31 Dec 2019 15:59:04 +0000
parents 1f455af23894
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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