Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |