From: hackbard Date: Fri, 21 Mar 2003 01:32:19 +0000 (+0000) Subject: possible entrypoint for hunzs perl script X-Git-Url: https://hackdaworld.org/gitweb/?p=lectures%2Fdfb-slides.git;a=commitdiff_plain;h=5f12223b9a9a479085647770c25f83c1b677a17e possible entrypoint for hunzs perl script --- diff --git a/cont2xml b/cont2xml index dac9a51..2323536 100755 --- a/cont2xml +++ b/cont2xml @@ -85,15 +85,18 @@ while [ "1" ]; do
`grep ^${count} $srcfile`
- - EOF -# total_2 # hunz's 1337.pl inserts content here ;) +# ./1337.pl $@ $count ($1 is targetfile, $2 is sourcefile) + + +cat >> $trgfile << EOF + -[ "$count" = "$total" ] && break +EOF + [ "$count" = "$total" ] && break done