view bin/makequine @ 12208:50d588d1d00f draft

<b_jonas> `` set -e; f=/hackenv/bin/STOP; >$f echo $\'#!/bin/sh\\nrm -vf /hackenv/bin/bfbotquine\'; chmod -c a+x "$f"
author HackEso <hackeso@esolangs.org>
date Fri, 29 Nov 2019 23:32:11 +0000
parents 1f455af23894
children
line wrap: on
line source

#!/bin/sh
if [ $# -ne 0 ]; then for f in "$@"; do echo "#!/bin/cat" && cat "$f"; done; else echo "#!/bin/cat" && cat; fi