#!/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//\>/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

Last-modified: Mon, 29 Jun 1998 13:36:06 GMT