From: hackbard Date: Fri, 21 Mar 2003 16:20:10 +0000 (+0000) Subject: stonefly devel stop! :) X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=374671d93ccb892a0095bb1aea8c47769a4c5422;p=lectures%2Fdfb-slides.git stonefly devel stop! :) --- diff --git a/cont2xml b/cont2xml index 42aab82..0148067 100755 --- a/cont2xml +++ b/cont2xml @@ -59,7 +59,7 @@ while [ "1" ]; do ((j = 0)) ((count += 1)) cat >> $trgfile << EOF -`grep ^${count} $srcfile | awk -F^ '{ print $0 }'` +`grep ^${count} $srcfile | awk '{ print $0 }'` EOF grep ^\ ${count}\.[0-9] $srcfile | awk '{ print ""$0"" }' >> $trgfile @@ -85,17 +85,16 @@ while [ "1" ]; do
`grep ^${count} $srcfile`
-EOF - -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) +EOF + + total_j=`grep ^\ ${count}.[0-9] $srcfile | tail -1 | awk '{ print $1 }' | awk -F . '{ print $2 }'` + echo " - ${total_j} chapters below" + ((count_j = 0)) + + #while [ "1" ]; do + # cat + # temporal devel break, stonefly will have a look at this script now! :) cat >> $trgfile << EOF diff --git a/wlan1/wlan1.xml b/wlan1/wlan1.xml index 9e145cb..897d6cf 100644 --- a/wlan1/wlan1.xml +++ b/wlan1/wlan1.xml @@ -52,24 +52,28 @@
1 Einfuehrung
+
2 Funktionsweise
+
3 WaveLAN unter Linux
+
4 Sicherheit
+