#!/bin/sh # ./man2txt < umlug.1x.txt | less
nroff -man | perl -pe 's/\cH.//g' | uniq # s,.\x08,,g; # Robert Schmertz http://www.geocities.com/rschmertz/ #Though we don't have any underlines in our man page, this might not work #with underlines, since I've found that the underscore is usually printed #before the letter that is underlined. The result is that the underlines #get printed instead of the letters/words being underlined. So you might #want to switch \cH and '.'. I even thought of making it a 3-stage #process (get rid of ^H_, then _^H, and THEN .^H) just to cover all #possibilities. #also make sure to remove the page division page 1 -> page 2.
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com