From 9b24a6fb94049691075dfcdc00e2a0ae244c2325 Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Thu, 25 May 2000 16:17:54 +0000 Subject: [PATCH] Text version generated from lynx looks as ugly as hell, sgml is much better at generating nice output. Unfortunately, sgml output contains a^ha highlight some printers do not like. --- doc/mkdocs | 7 ++++++- doc/printme | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 doc/printme diff --git a/doc/mkdocs b/doc/mkdocs index c5a19332..b291dd41 100755 --- a/doc/mkdocs +++ b/doc/mkdocs @@ -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 index 00000000..cc1b9399 --- /dev/null +++ b/doc/printme @@ -0,0 +1,2 @@ +#!/bin/bash +./mkdocs; cat bird.txt | sed s/.//g | lpr