]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Text version generated from lynx looks as ugly as hell, sgml is much better
authorPavel Machek <pavel@ucw.cz>
Thu, 25 May 2000 16:17:54 +0000 (16:17 +0000)
committerPavel Machek <pavel@ucw.cz>
Thu, 25 May 2000 16:17:54 +0000 (16:17 +0000)
at generating nice output. Unfortunately, sgml output contains a^ha highlight
some printers do not like.

doc/mkdocs
doc/printme [new file with mode: 0644]

index c5a193321c7895ab73156dc3264c71c36962ec99..b291dd4170f889358dd5fac9cd6f4981535f3e5b 100755 (executable)
@@ -1,3 +1,8 @@
 #!/bin/bash
 ./sgml2html bird.sgml
-./sgml2latex bird.sgml
\ No newline at end of file
+./sgml2latex bird.sgml
+sgml2txt bird.sgml 2> /dev/null
+#> bird.txt
+#for i in bird.html bird-*.html; do 
+#    lynx -dump $i | grep -v 'file://' | grep -v '^References$' >> bird.txt
+#    done
diff --git a/doc/printme b/doc/printme
new file mode 100644 (file)
index 0000000..cc1b939
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/bash
+./mkdocs; cat bird.txt | sed s/\b.//g | lpr