File: getcol.hlp

package info (click to toggle)
wcstools 3.9.7-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 14,684 kB
  • sloc: ansic: 113,336; sh: 553; makefile: 245; lisp: 86; sed: 1
file content (67 lines) | stat: -rw-r--r-- 2,042 bytes parent folder | download | duplicates (5)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
.help getcol Mar2001 WCSTools
.ih
NAME
getcol -- Extract specified columns from an ASCII table file
.ih
USAGE
getcol [-amv][-n num][-r lines][-s num] filename [column number range]
.ih
ARGUMENTS
.ls filename
Name of a ASCII table file.  At least one of these
must be present for any values to be printed.  If it is stdin
or STDIN, an ASCII table is expected as standard input.  If there
is no input file, standard input is assumed.
.le
.ls @filename
Name of a file containing a list of ASCII table files.  If this is
present, any other file names on the command line will be ignored.
.le
.ls field range
Print value of these columns for the number of lines of the table 
specified by the -n argument after the skippiing the number of
lines specified by the -s argument.  A value of 0 causes the
entire input line to be printed.
.le
.ls -a
Sum all numeric columns selected, printing the sum on the line following
the result.  Columns with no sum are filled with ___.
(Added in version 2.6.9)
.le
.ls -m
Compute the means of all numeric columns selected, printing the mean
on the line following the result (or the line following the sum if
-a is used).  Columns with no mean are filled with ___.
(Added in version 2.6.9)
.le
.ls -n num
Print selected columns for this many lines.  If not specified, all
lines will be read after the number of lines specified by -s have
been skipped.
.le
.ls -r @listfile
.le
.ls -r line range
Print columns from the lines specified as either the first nonzero
number on each line of the file listfile or the comma- and hyphen-
delimitied range; i.e. 1-5,10-12 will print values from lines
1, 2, 3, 4, 5, 10, 11, and 12.
(added in version 2.6.12)
.le
.ls -s num
Skip this many line before starting to print values.  If not specified,
no lines will be skipped.
.le
.ls -v
Print more information about process.
.le
.ih
DESCRIPTION
Extract specified columns from an ASCII table file
.ih
WEB PAGE
http://tdc-www.harvard.edu/software/wcstools/getcol.html
.ih
AUTHOR
Jessica Mink, SAO (jmink@cfa.harvard.edu)
.endhelp