The col command processes control characters for vertical line-feeds, handling them in a reasonable manner. col writes the processed text to the standard output. It is intended to be used as a filter between a program such as nroff and an output device which cannot handle reverse line-feeds.
col also performs some other formatting. Where possible, blank characters (spaces) are converted to tabs; tab stops are assumed to be every eight characters.
col also removes all escape sequences except for those shown in Table 1, Control Characters Allowed by col. ESC is the ASCII escape character, octal code 033.
|Character||ASCII Control Character (Octal)|
Table 1: Control Characters Allowed by col
The ASCII control characters SO and SI denote the beginning and end of text in an alternative character set. The set of each input character is remembered. col generates SO and SI characters as needed to output each character in the correct character set.
ignores backspace ( CTRL-H) characters. If two characters are supposed to appear in the same space, the first character is ignored and the second is output.
allows forward half-line motions. Normally these are changed to forward full-line motions.
prevents conversion of spaces to tab characters.
Possible exit status values are:
Failure due to any of the following:
All UNIX systems. Windows 7. Windows Server 2008 R2. Windows 8. Windows Server 2012. Windows 10. Windows Server 2016.
col ignores vertical motions that back up over the first line, so you may get unexpected results if the first line contains superscripts.
PTC MKS Toolkit for Power Users
PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
PTC MKS Toolkit 10.1 patch 1 Documentation Build 2.