view bin/maketext @ 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 ee2e8950bb3c
children
line wrap: on
line source

#!/bin/bash
X=`ls maketext | wc -l`; echo "$1" > maketext/$X; echo $X