in reply to Re: Parsing (l)unix man pages
in thread Parsing (l)unix man pages

If you send the man output to a file, you will see that the lines look something like:
D^HDE^HES^HSC^HCR^HRI^HIP^HPT^HTI^HIO^HON^HN
You can either use a perl script to take them out, or us lazy/smart types use:
open(F,"man ssh| col -b |")
People on old legacy unix boxes with crappy pagers have been using col -b for years to dump plain text to a file which can then be looked at with a text editor.