Nov 28, 2008

Convert man Pages to Text

At the command line, run:

$ man <command> | col -b > filename.txt

Here's what it means:

man <command> = 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