:
trap "rm -rf /tmp/$$" 0 1 2 3 15
txt2html -m -s 100 -p 100 --title "PostgreSQL TODO list" \
--link /u/txt2html/txt2html.dict \
--append_head /u/txt2html/BODY /pgtop/doc/TODO |
sed 's;\[\([^]]*\)\];[\1];g' >/tmp/$$
expect -c "
set timeout -1
eval spawn scp -q /tmp/$$ momjian@postgresql.org:/home/momjian/docs/TODO.html
expect \"password:\"
send \"bruski\\r\"
interact
exit"
cd /pgtop/doc
chown postgres TODO
pgcvs commit -m 'Update TODO list.' TODO