select_columns
Package: WA2L/WinTools 1.2.08
Section: Library Commands (3)
Updated: 02 March 2009
Index
Return to Main Contents
NAME
select_columns - select named columns from CSV stream
SYNOPSIS
WA2LWinTools/lib/select_columns
-h
select_columns
"field_separator"
"column_list"
AVAILABILITY
WA2L/WinTools
DESCRIPTION
filter to select named columns that are separated by
a field separator from
stdin
and print the selected columns to
stdout
. The first row of the data stream must contain the
row header. Columns that do not exist, are printed as
empty columns.
OPTIONS
- -h
-
usage message.
- "field_separator"
-
field separator.
- "column_list"
-
separated list of columns to be printed from the CSV
stream from
stdin.
ENVIRONMENT
-
EXIT STATUS
- 0
-
no error.
- 4
-
usage displayed.
FILES
-
EXAMPLES
-
SEE ALSO
wintoolsintro(1),
indent(3),
print_header(3),
print_index(3),
print_list(3)
NOTES
The four commands
print_header(3)
,
print_list(3)
,
select_columns(3)
and
print_index(3)
provide the functionality to efficiently produce
ASCII reports having an identical look.
BUGS
-
AUTHOR
select_columns was developed by Christian Walther. Send suggestions
and bug reports to wa2l@users.sourceforge.net .
COPYRIGHT
Copyright © 2020
Christian Walther
This is free software; see
WA2LWinTools/man/COPYING
for copying conditions. There is ABSOLUTELY NO WARRANTY; not
even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This document was created by man2html
using the manual pages.
Time: 16:32:59 GMT, September 14, 2024