16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Description<br />

Options<br />

Localization<br />

col processes control characters for vertical line feeds and writes the processed<br />

text to the standard output. It is intended to be used as a filter between a program<br />

such as nroff and an output device that cannot handle reverse line feeds.<br />

Where possible, blank characters (spaces) are converted to tabs; tab stops are<br />

assumed to be every eight characters.<br />

col also removes all escape sequences except for those shown in the following list.<br />

ESC is the ASCII escape character, octal code 033.<br />

Character ASCII Control Character<br />

Backspace 010<br />

Carriage-return<br />

015<br />

Newline 012<br />

Vertical Tab 013<br />

SO 016<br />

SI 017<br />

Space 040<br />

Tab 011<br />

Reverse line feed<br />

ESC-7<br />

Reverse half-line feed<br />

ESC-8<br />

Forward half-line feed<br />

ESC-9<br />

The ASCII control characters SO and SI denote the beginning and end of text in an<br />

alternative character set. The set of each input character is remembered. col<br />

generates SO and SI characters as needed to output each character in the correct<br />

character set.<br />

–b Ignores backspace (CRTL-H) characters. If two characters are supposed to<br />

appear in the same space, the first character is ignored and the second is<br />

output.<br />

–f Allows forward half-line motions. Normally these are changed to forward<br />

full-line motions.<br />

–x Prevents conversion of spaces to tab characters.<br />

col uses the following localization environment variables:<br />

v LANG<br />

v LC_ALL<br />

v LC_CTYPE<br />

v LC_MESSAGES<br />

v NLSPATH<br />

col<br />

Chapter 2. Shell command descriptions 139

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!