Dr Andrew Scott G7VAV

My photo
 
April 2024
Mo Tu We Th Fr Sa Su
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 1 2 3 4 5
6 7 8 9 10 11 12


COLRM

Section: User Commands (1)
Index Return to Main Contents

BSD mandoc
 

NAME

colrm - remove columns from a file  

SYNOPSIS

[start [stop ] ]  

DESCRIPTION

The utility removes selected columns from the lines of a file. A column is defined as a single character in a line. Input is read from the standard input. Output is written to the standard output.

If only the start column is specified, columns numbered less than the start column will be written. If both start and stop columns are specified, columns numbered less than the start column or greater than the stop column will be written. Column numbering starts with one, not zero.

Tab characters increment the column count to the next multiple of eight. Backspace characters decrement the column count by one.  

ENVIRONMENT

The LANG , LC_ALL and LC_CTYPE environment variables affect the execution of as described in environ(7).  

EXIT STATUS

Ex -std  

SEE ALSO

awk(1), column(1), cut(1), paste(1)  

HISTORY

The command appeared in BSD 3.0


 

Index

NAME
SYNOPSIS
DESCRIPTION
ENVIRONMENT
EXIT STATUS
SEE ALSO
HISTORY


for client 3.15.6.77
© Andrew Scott 2006 - 2024,
All Rights Reserved
http://www.andrew-scott.uk/
Andrew Scott
http://www.andrew-scott.co.uk/