X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=cont2xml;h=42aab82d0251d4fee0e36eadd3cec8f1bb0a9eb3;hb=e04c1bea5163a60a2646bfc7163ffe3ac20a1779;hp=dac9a5183a7f3f210ab8c83eee4bd1eb8059980a;hpb=dcfe13a60d4b22e8d1da061da18e5a2e42687c82;p=lectures%2Fdfb-slides.git
diff --git a/cont2xml b/cont2xml
index dac9a51..42aab82 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 ./1337.pl $@ $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