From 51141f84f277a5ebbbc9a4dcff0579d995150870 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 19 Apr 2008 12:42:35 +0000 Subject: [PATCH] Add script FAQ2txt to convert HTML files to txt. Add comment to TODO2html. --- src/tools/FAQ2txt | 7 +++++++ src/tools/TODO2html | 2 ++ 2 files changed, 9 insertions(+) create mode 100755 src/tools/FAQ2txt diff --git a/src/tools/FAQ2txt b/src/tools/FAQ2txt new file mode 100755 index 0000000000..5868cffd9e --- /dev/null +++ b/src/tools/FAQ2txt @@ -0,0 +1,7 @@ +#!/bin/sh + +# $PostgreSQL$: + +# Converts FAQ.html and FAQ_DEV.html to text files + +lynx -force_html -dont_wrap_pre -dump -hiddenlinks=ignore -nolist "$@" diff --git a/src/tools/TODO2html b/src/tools/TODO2html index b74529de13..a02a6dfc40 100755 --- a/src/tools/TODO2html +++ b/src/tools/TODO2html @@ -2,6 +2,8 @@ # $PostgreSQL$: +# Converts TODO text file to HTML + [ ! -f COPYRIGHT ] && echo "Run from top of source tree" 1>&2 && exit 1 # check if txt2html is installed -- 2.39.5