view bin/makequine @ 5259:654628d0e1f5

<olsner> echo cat fu > bin/fu; chmod +x bin/fu
author HackBot
date Wed, 25 Feb 2015 18:49:51 +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