X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=cont2xml;h=7107138cfdc92436337bfe00e6892be82692d5ba;hb=f1b6a77573b9e127f79f87f780b11aebaf588c70;hp=dac9a5183a7f3f210ab8c83eee4bd1eb8059980a;hpb=dcfe13a60d4b22e8d1da061da18e5a2e42687c82;p=lectures%2Fdfb-slides.git diff --git a/cont2xml b/cont2xml index dac9a51..7107138 100755 --- a/cont2xml +++ b/cont2xml @@ -85,15 +85,23 @@ while [ "1" ]; do
`grep ^${count} $srcfile`
- - EOF -# total_2 +if [ -f ./1337.pl ] ; then + ./1337.pl $@ $count +else + echo "can't execute $@ $count ... (hunz!!!) :)" +fi # hunz's 1337.pl inserts content here ;) +# ./1337.pl $@ $count ($1 is targetfile, $2 is sourcefile) -[ "$count" = "$total" ] && break + +cat >> $trgfile << EOF + + +EOF + [ "$count" = "$total" ] && break done