shithub: 9intro

ref: 87288afa5ac476efb3ef1ed40df658427339f13e
dir: /idx/macros/

View raw version
#!/bin/rc
cat <<!
.c 1
.LG
.B "Index"
.NS
.2C
!
cat $* |
sed -e 's/^.YY .(.*)/.SH\n\1\n.LP/' -e 's/^\.[XZ][XZ]/.br/' -e 's/^\\&//' \
	-e 's/^    /        /'
echo .1C