home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


col [options ]

A postprocessing filter that handles reverse linefeeds and escape characters, allowing output from tbl (or nroff , occasionally) to appear in reasonable form on a terminal.



Ignore backspace characters; helpful when printing manpages.


Process half-line vertical motions, but not reverse line motion. (Normally, half-line input motion is displayed on the next full line.)


Print unknown escape sequences (normally ignored) as regular characters. This option can garble output, so its use is not recommended.


Normally, col saves printing time by converting sequences of spaces to tabs. Use -x to suppress this conversion.


Run file through tbl and nroff , then capture output on screen by filtering through col and more :


 | nroff | col | more

Save manpage output in file .print , stripping out backspaces (which would otherwise appear as ^H ):


 | col -b >


Previous: Reference: cmp UNIX in a Nutshell: System V Edition Next: Reference: comb
Reference: cmp Book Index Reference: comb

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System