Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[doc] - generate that manpage for pb_utils
  • Loading branch information
Richard Neill committed Sep 14, 2013
1 parent eb6e791 commit eef4cff
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pb_utils/man/pb_utils.1.sh
@@ -0,0 +1,6 @@
#Stub. pb_utils.1 already exists. So just create the html version.
BZIP2_FILE=$(dirname $0)/pb_utils.1.bz2
COMPRESS=bzip2

#Also create the HTML version,fixing spacing, and munging email addresses.
cat $BZIP2_FILE | $COMPRESS -d | man2html -r - | tail -n +3 | sed -e 's/<BODY>/<BODY><STYLE>\*\{font-family:monospace\}<\/STYLE>/' -re 's/\b([a-z0-9_.+-]*)@([a-z0-9_.+-]*)\b/\1#AT(spamblock)#\2/ig' > ${BZIP2_FILE%.bz2}.html

0 comments on commit eef4cff

Please sign in to comment.