File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ # $PostgreSQL: pgsql/src/tools/TODO2html,v 1.1 2008/04/19 12:34:54 momjian Exp $:
4
+
5
+ [ ! -f COPYRIGHT ] && echo " Run from top of source tree" 1>&2 && exit 1
6
+
7
+ # check if txt2html is installed
8
+ txt2html -h > /dev/null 2>&1
9
+ if [ " $? " -gt 1 ]
10
+ then echo " Cannot find txt2html." 1>&2
11
+ echo " You must install txt2html from http://txt2html.sourceforge.net." 1>&2
12
+ exit 1
13
+ fi
14
+
15
+ cat doc/TODO |
16
+ # lines with only whitespace throws off txt2html bullet formatting
17
+ sed ' s/^[ ][ ]*$//' |
18
+ sed ' s/^\(\* -\)\(.*\)$/\1*\2*/' |
19
+ sed ' s/^\([ ][ ]*o -\)\(.*\)$/\1*\2*/' |
20
+ txt2html --xhtml -s 100 -p 100 --xhtml --titlefirst \
21
+ --body_deco ' bgcolor="#FFFFFF" text="#000000" link="#FF0000" vlink="#A00000" alink="#0000FF"' \
22
+ --caps_tag ' ' > doc/src/FAQ/TODO.html
You can’t perform that action at this time.
0 commit comments