Tuesday, June 29, 2010

Export Man Page to Text File

Needed a quick way to exporting a man page to a text file. Below is the command for exporting the man page for pf.conf (need to research a few things before upgrading to OpenBSD 4.7)

$ man pf.conf | col -bx > pf.conf.txt

1 comment:

marwalk said...

Excellent; very useful. Thanks.