changeset 347:b4a8124838a2

<zzo38> run echo '#!/bin/bash' > bin/maketext; echo 'X=`ls maketext | wc -l`; echo "$1" > maketext/$X' >> bin/maketext; chmod +x bin/maketext
author HackBot
date Sun, 29 Apr 2012 03:18:51 +0000
parents 4f4502729d5e
children c7d7527662f5
files bin/maketext
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/maketext	Sun Apr 29 03:15:48 2012 +0000
+++ b/bin/maketext	Sun Apr 29 03:18:51 2012 +0000
@@ -1,2 +1,2 @@
 #!/bin/bash
-ls maketext | wc -l; cat > `ls maketext | wc -l`
+X=`ls maketext | wc -l`; echo "$1" > maketext/$X