[UP]


Manual Reference Pages  - cprint (1)

NAME

cprint(1f) - [FILE FILTER] filter prints specified columns (LICENSE:PD)

CONTENTS

Synopsis
Description
Options
Examples
Author
License

SYNOPSIS

cprint [ columns ][ -delimiters delim] |-help|-version

DESCRIPTION

cprint is a filter that prints the specified columns.

OPTIONS

columns
  numbers indicating which columns to print. A negative value denotes the end of a range. A value must be from 1 to 1000.
-delimiters
  input column delimiter character(s) (default: whitespace) Delimiters are changed to spaces on outout.
-help display command help and exit
-version
  display command metadata and exit

EXAMPLES

Sample usage:

      $echo d e h l o r w|cprint 3 2 4 4 5 7 5 6 4 1
      h e l l o w o r l d

$: switch first and second column and skip third column $: and print up to column 1000 $ls -l |cprint 2 1 4 -1000

AUTHOR

John S. Urban

LICENSE

Public Domain


cprint (1) March 11, 2021
Generated by manServer 1.08 from 2d96e16a-aa51-4eaa-af4c-1e6b5703bad9 using man macros.