Wednesday, October 03, 2007

Convert man Pages to Text

(link to page)

At the command line, run:

$ man | col -b > filename.txt

Here's what it means:

man = display the man pages for a stated command

| = pipe the output of the man pages somewhere else

col -b = format the output

> = send the output to a file

filename.txt = name of the file you wish to create and populate with output