]> hackdaworld.org Git - lectures/dfb-slides.git/commitdiff
possible entrypoint for hunzs perl script
authorhackbard <hackbard>
Fri, 21 Mar 2003 01:32:19 +0000 (01:32 +0000)
committerhackbard <hackbard>
Fri, 21 Mar 2003 01:32:19 +0000 (01:32 +0000)
cont2xml

index dac9a5183a7f3f210ab8c83eee4bd1eb8059980a..2323536355437003cf94592514c089e41d640240 100755 (executable)
--- a/cont2xml
+++ b/cont2xml
@@ -85,15 +85,18 @@ while [ "1" ]; do
 <header size="10"></header>
 <header fgcolor="#8080FF" size="35">`grep ^${count} $srcfile`</header>
 <header size="20"></header>
-</slide>
-
 EOF
 
-#      total_2
 
 # hunz's 1337.pl inserts content here ;)
+# ./1337.pl $@ $count ($1 is targetfile, $2 is sourcefile)
+
+
+cat >> $trgfile << EOF
+</slide>
 
-[ "$count" = "$total" ] && break
+EOF
+       [ "$count" = "$total" ] && break
 done