view bin/pastequotes @ 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
author HackBot
date Wed, 06 Mar 2013 14:46:16 +0000
parents e037173e0012
children 8fadb562842e 655956824d41
line wrap: on
line source

#!/bin/sh
if [ "$1" ]; then quote "$1"; else allquotes; fi | paste