/CTOTOR/absbook2html.txt

#!/bin/sh

# Convertor abs-book.txt NROFF formatted to HTML

H=`echo -e "\010"`
T=`echo -e "\024"`
U=`echo -e "\025"`

cat $1 |\
sed -e "
s/
s/>/\>/g
s/_$H\(.\)/$T\1$U/g
s/$U$T//g
s/$U\( *\)$T/\1/g
s%.$H\(.\)%\1%g
s%%%g
s%
\( *\)%\1%g
"
exit
book.txt
s%|$H-%[*]%g
s%|$H=%[**]%g
s%|
$H-%[*]%g
s%|$H=%[**]%g