Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
54208a32
Commit
54208a32
authored
Apr 19, 2008
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add TODO2html tool to convert TODO to HTML.
parent
3ca214ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
src/tools/TODO2html
src/tools/TODO2html
+22
-0
No files found.
src/tools/TODO2html
0 → 100755
View file @
54208a32
#!/bin/sh
# $PostgreSQL: pgsql/src/tools/TODO2html,v 1.1 2008/04/19 12:34:54 momjian Exp $:
[
!
-f
COPYRIGHT
]
&&
echo
"Run from top of source tree"
1>&2
&&
exit
1
# check if txt2html is installed
txt2html
-h
>
/dev/null 2>&1
if
[
"
$?
"
-gt
1
]
then
echo
"Cannot find txt2html."
1>&2
echo
"You must install txt2html from http://txt2html.sourceforge.net."
1>&2
exit
1
fi
cat
doc/TODO |
# lines with only whitespace throws off txt2html bullet formatting
sed
's/^[ ][ ]*$//'
|
sed
's/^\(\* -\)\(.*\)$/\1*\2*/'
|
sed
's/^\([ ][ ]*o -\)\(.*\)$/\1*\2*/'
|
txt2html
--xhtml
-s
100
-p
100
--xhtml
--titlefirst
\
--body_deco
' bgcolor="#FFFFFF" text="#000000" link="#FF0000" vlink="#A00000" alink="#0000FF"'
\
--caps_tag
''
>
doc/src/FAQ/TODO.html
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment