Scroll to navigation

COL(1) Команди користувача COL(1)

НАЗВА

col - фільтрування зворотних подач рядків з вхідних даних

КОРОТКИЙ ОПИС

col параметри

ОПИС

col filters out reverse (and half-reverse) line feeds so the output is in the correct order, with only forward and half-forward line feeds. It also replaces any whitespace characters with tabs where possible. This can be useful in processing the output of nroff(1) and tbl(1).

col читає дані зі стандартного джерела даних і записує їх до стандартного виведення даних.

ПАРАМЕТРИ

-b, --no-backspaces

Do not output any backspaces, printing only the last character written to each column position.

-f, --fine

Permit half-forward line feeds. Normally characters destined for a half-line boundary are printed on the following line.

-h, --tabs

Виводити табуляції замість декількох пробілів.

-l, --lines число

Buffer at least number lines in memory. By default, 128 lines are buffered.

-p, --pass

Force unknown control sequences to be passed through unchanged. Normally col will filter out any control sequences other than those recognized and interpreted by itself, which are listed below.

-x, --spaces

Виводити послідовність пробілів замість табуляцій.

-H, --help

Вивести текст довідки і завершити роботу.

-V, --version

Вивести дані щодо версії і завершити роботу.

ВІДПОВІДНІСТЬ

The col utility conforms to the Single UNIX Specification, Version 2. The -l option is an extension to the standard.

ЗАУВАЖЕННЯ

The control sequences for carriage motion that col understands and their decimal values are listed in the following table:

ESC-7

зворотна подача рядків (escape, потім 7)

ESC-8

напів зворотна подача рядків (escape, потім 8)

ESC-9

напів подача рядків вперед (escape, потім 9)

витирання символу ліворуч

пересуває на одну позиції назад (8); буде проігноровано у першій позиції

новий рядок

подача рядка вперед (10); також виконує повернення каретки

повернення каретки

(13)

shift in

пересунутися до звичайного набору символів (15)

shift out

пересунутися до альтернативного набору символів (14)

пробіл

пересуває вперед на одну позицію (32)

табуляція

пересуває вперед до наступної позиції табуляції (9)

вертикальна табуляція

зворотна подача рядка (11)

Усі нерозпізнані символи керування та керівні послідовності буде відкинуто.

col keeps track of the character set as characters are read and makes sure the character set is correct when they are output.

If the input attempts to back up to the last flushed line, col will display a warning message.

ЖУРНАЛ

Команда col з’явилася у AT&T UNIX версії 6.

ТАКОЖ ПЕРЕГЛЯНЬТЕ

expand(1), nroff(1), tbl(1)

ЯК НАДІСЛАТИ ЗВІТ ПРО ВАДИ

Для звітування щодо вад скористайтеся системою стеження за вадами - <https://github.com/util-linux/util-linux/issues>.

ДОСТУП ДО ПРОГРАМИ

Програма col є частиною пакунка util-linux, який можна отримати з архіву ядра Linux <https://www.kernel.org/pub/linux/utils/util-linux/>.

2024-03-27 util-linux 2.39.3