X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=parse.pl;h=a25052fa9a13ce2f4960665fe89fce227078015d;hb=30b736f4c67d275b2e828da4543e65ee459786c3;hp=2e923a5194eb7ec8f34535910e1519dc4c31e24b;hpb=d6a8c3f05dae1fb3cb51a6f0aaf08e61953e287f;p=lectures%2Fdfb-slides.git diff --git a/parse.pl b/parse.pl index 2e923a5..a25052f 100755 --- a/parse.pl +++ b/parse.pl @@ -5,11 +5,18 @@ chomp @content; @slide=(); -print "\n"; -print "\n"; +print "\n"; @@ -20,16 +27,24 @@ foreach(@content) { s/&/&/g; s//>/; + + #s/ue/ü/g; + #s/ae/ä/g; + #s/oe/ö/g; + + s/Ue/Ü/g; + s/Ae/Ä/g; + s/Oe/Ö/g; # unterpunkt if(/^ \d/) { if(@slide) { print "\n"; pop(@slide); - print "
$topic
\n\n"; + print "
$topic
\n\n"; foreach(@slide) { if(/ \+ /) { s/\+//; - print "$_\n"; + print "\n$_\n"; } else { print "$_\n";