view bin/makequine @ 11301:6fae3200f233

<int-e> ` mv {bin,lib}/morse-decode; echo \'#!/hackenv/bin/shebang_args_or_input /hackenv/lib/morse-decode\' > bin/morse-decode; chmod +x bin/morse-decode
author HackBot
date Thu, 04 Jan 2018 23:48:26 +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