From: hackbard Date: Fri, 21 Mar 2003 01:18:26 +0000 (+0000) Subject: added shell parser (unfinished) & added resolution info to content files X-Git-Url: https://hackdaworld.org/gitweb/?p=lectures%2Fdfb-slides.git;a=commitdiff_plain;h=dcfe13a60d4b22e8d1da061da18e5a2e42687c82 added shell parser (unfinished) & added resolution info to content files --- diff --git a/cont2xml b/cont2xml new file mode 100755 index 0000000..dac9a51 --- /dev/null +++ b/cont2xml @@ -0,0 +1,103 @@ +#!/bin/sh + +if [ -z "$1" -o -z "$2" ]; then + echo "usage: $0 " + exit +fi +trgfile=$1 ; srcfile=$2 + +# general +topic=`grep '#\ T' $srcfile | awk -F^ '{ print $2 }'` +desc=`grep '#\ D' $srcfile | awk -F^ '{ print $2 }'` +author=`grep '#\ A' $srcfile | awk -F^ '{ print $2 }'` +email=`grep '#\ M' $srcfile | awk -F^ '{ print $2 }'` +event=`grep '#\ E' $srcfile | awk -F^ '{ print $2 }'` +location=`grep '#\ L' $srcfile | awk -F^ '{ print $2 }'` +xwidth=`grep '#\ X' $srcfile | awk -F^ '{ print $2 }'` +ywidth=`grep '#\ Y' $srcfile | awk -F^ '{ print $2 }'` + +# information needed to parse contents +total=`grep '^[0-9]' $srcfile | tail -1 | awk '{ print $1 }'` +echo "found $total chapters ..." +((count = 0)) + +# print normal header +cat > $trgfile << EOF + + + + + +
+
$topic
+
+
$desc
+
+$author + +email: $email +event: $event +location: $location +
+ +EOF + +# contents overview page +cat >> $trgfile << EOF + +
+
Inhalt
+
+ +EOF +while [ "1" ]; do + ((j = 0)) + ((count += 1)) + cat >> $trgfile << EOF +`grep ^${count} $srcfile | awk -F^ '{ print $0 }'` + +EOF + grep ^\ ${count}\.[0-9] $srcfile | awk '{ print ""$0"" }' >> $trgfile + cat >> $trgfile << EOF + +EOF + [ "$count" = "$total" ] && break +done +cat >> $trgfile << EOF +
+ +EOF + +# the conetent +# to be continued ... ;) +((count = 0)) +while [ "1" ]; do + ((j = 0)) + ((count += 1)) + echo "creating content chapter $count ..." + cat >> $trgfile << EOF + +
+
`grep ^${count} $srcfile`
+
+
+ +EOF + +# total_2 + +# hunz's 1337.pl inserts content here ;) + +[ "$count" = "$total" ] && break +done + + +cat >> $trgfile << EOF +
+EOF +echo "done ..." diff --git a/img/bg.png b/img/bg.png index 2846684..842e0ca 100644 Binary files a/img/bg.png and b/img/bg.png differ diff --git a/img/bg1.png b/img/bg1.png deleted file mode 100644 index 842e0ca..0000000 Binary files a/img/bg1.png and /dev/null differ diff --git a/img/bullet.png b/img/bullet.png index 64e562c..7e9d445 100644 Binary files a/img/bullet.png and b/img/bullet.png differ diff --git a/wlan1/wlan1-content b/wlan1/wlan1-content index aa59055..3a6aa9a 100644 --- a/wlan1/wlan1-content +++ b/wlan1/wlan1-content @@ -5,6 +5,9 @@ # E^Linuxinfotag 2003 # L^FH-Augsburg +# X^1024 +# Y^768 + 1 Einfuehrung 1.1 Was ist Wireless LAN? + Drahtlose Netzwerk Technologie diff --git a/wlan1/wlan1.xml b/wlan1/wlan1.xml index 0d43d3f..9e145cb 100644 --- a/wlan1/wlan1.xml +++ b/wlan1/wlan1.xml @@ -7,82 +7,69 @@ bullet="../img/bullet.png" screen_width="1024" screen_height="768"> - -
-
WaveLAN
-
-
Teil 1: Wireless LAN unter Linux
-
- Benedict 'Hunz' Heinz, Frank Zirkelbach - - email: hunz@hunz.org, frank@luga.de - event: Linuxinfotag 2003 - location: FH-Augsburg -
+ +
+
WaveLAN
+
+
Teil 1: Wireless LAN unter Linux
+
+Benedikt 'Hunz' Heinz, Frank Zirkelbach + +email: hunz@hunz.org, frank@luga.de +event: Linuxinfotag 2003 +location: FH-Augsburg +
- -
-
Inhalt
-
+ +
+
Inhalt
+
- Einleitung - - Equipment - Reichweite - - Funktionsweise - - Channels - Managed Mode - Ad-Hoc Mode - WDS - - WaveLAN unter Linux - - Vorraussetzungen - Konfiguration - Master - - Sicherheit - - -
+1 Einfuehrung + + 1.1 Was ist Wireless LAN? + 1.2 WaveLAN Hardware + +2 Funktionsweise + + 2.1 Begriffserklaerungen + 2.2 Managed Mode + 2.3 AdHoc Mode + 2.4 WDS + +3 WaveLAN unter Linux + + 3.1 Vorraussetzungen + 3.2 Client Setup + 3.3 AP Setup + +4 Sicherheit + + +
+ +
+
1 Einfuehrung
+
+
- -
-
Einleitung
-
+ +
+
2 Funktionsweise
+
+
- Equipment muster muster muster muster - Reichweite muster muster muster muster -
+ +
+
3 WaveLAN unter Linux
+
+
- -
-
Funktionsweise
-
+ +
+
4 Sicherheit
+
+
- Channels muster muster muster muster - Managed Mode muster muster muster muster - Ad-Hoc Mode muster muster muster muster - WDS muster muster muster muster -
- - -
-
WaveLAN unter Linux
-
- - Vorraussetzungen muster muster muster muster - Konfiguration muster muster muster muster - Master muster muster muster muster -
- - -
-
Sicherheit
-
- -
diff --git a/wlan2/wlan2-content b/wlan2/wlan2-content index 1e90075..7079761 100644 --- a/wlan2/wlan2-content +++ b/wlan2/wlan2-content @@ -4,6 +4,8 @@ # M^hunz@hunz.org, frank@luga.de # E^Linuxinfotag 2003 # L^FH-Augsburg +# X^1024 +# Y^768 1 802.11b Aufbau 1.1 Unterschied zu traditionellen Festnetzen