| 1 |
#! /bin/sh |
| 2 |
|
| 3 |
# man generator from spex.html |
| 4 |
|
| 5 |
egrep '^(<dt>|<dd>|<p>)' | |
| 6 |
sed -e 's/@/__at__/g' -e 's/<kbd>/[email protected] /' -e 's/<p>/.PP@/' \ |
| 7 |
-e 's/<[^>]*>//g' -e 's/</</g' -e 's/>/>/g' -e 's/&/\&/g' -e 's/-/\\-/g' | |
| 8 |
tr '@' '\n' | |
| 9 |
sed -e 's/__at__/@/g' |