annotate bin/makequine @ 11983:27197f013789 draft

<kspalaiologos> le//rn bfasm//bfasm is the brainfuck assembler. Documentation and samples: https://raw.githubusercontent.com/KrzysztofSzewczyk/asmbf/master/doc/bfasm.doc
author HackEso <hackeso@esolangs.org>
date Wed, 23 Oct 2019 17:54:15 +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