Indiana University
University Information Technology Services
  
What are archived documents?
Login>>
Login

Login is for authorized groups (e.g., UITS, OVPIT, and TCC) that need access to specialized Knowledge Base documents. Otherwise, simply use the Knowledge Base without logging in.

Close

In Unix, how do I convert a manual page into a simple text file?

In Unix, the manual page sources are meant for conversion to a format compatible with various types of terminals, typesetters, or PostScript printers. Formatted manual pages contain control characters that produce underlining and boldface text (which is compatible with most terminals and printers).

If you wish to convert a man page to a normal text file, or if you need to output the manual to a device that doesn't support these codes (e.g., a simple line printer), try the following. From the Unix prompt, enter: man unix_command | col -bx > man_page_file.txt Replace unix_command with the relevant command. The col command strips out the backspace-underline and backspace-letter sequences, so you should be able to print or otherwise manipulate man_page_file.txt like any other ASCII text file.

At Indiana University, for personal or departmental Linux or Unix systems support, see At IU, how do I get support for Linux or Unix?

This is document acjn in domain all.
Last modified on August 22, 2008.

Comments/Questions/Corrections

Use this form to offer suggestions, corrections, and additions to the Knowledge Base. We welcome your input!

If you are affiliated with Indiana University and would like assistance with a specific computing problem, please use the Ask a Consultant form, or contact your campus Support Center.

Contact Information

Note: We will reply to your comment at this address. If your message concerns a problem receiving email, please enter an alternate email address.