1Fsdb::Filter::dbcolcreaUtsee(r3)Contributed Perl DocumenFtsadtbi:o:nFilter::dbcolcreate(3)
2
3
4

NAME

6       dbcolcreate - create new columns
7

SYNOPSIS

9           dbcolcreate NewColumn1 [NewColumn2]
10
11       or
12
13           dbcolcreate -e DefaultValue NewColumnWithDefault
14

DESCRIPTION

16       Create columns "NewColumn1", etc.  with an optional "DefaultValue".
17

OPTIONS

19       -e EmptyValue or --empty
20           Specify the value newly created columns get.
21
22       -f or --first
23           Put all new columns as the first columns of each row.  By default,
24           they go at the end of each row.
25
26       --no-recreate-fatal
27           By default, creating an existing column is an error.  With
28           --no-recreate-fatal, we ignore re-creation.
29
30       This module also supports the standard fsdb options:
31
32       -d  Enable debugging output.
33
34       -i or --input InputSource
35           Read from InputSource, typically a file name, or "-" for standard
36           input, or (if in Perl) a IO::Handle, Fsdb::IO or Fsdb::BoundedQueue
37           objects.
38
39       -o or --output OutputDestination
40           Write to OutputDestination, typically a file name, or "-" for
41           standard output, or (if in Perl) a IO::Handle, Fsdb::IO or
42           Fsdb::BoundedQueue objects.
43
44       --autorun or --noautorun
45           By default, programs process automatically, but Fsdb::Filter
46           objects in Perl do not run until you invoke the run() method.  The
47           "--(no)autorun" option controls that behavior within Perl.
48
49       --help
50           Show help.
51
52       --man
53           Show full manual.
54

SAMPLE USAGE

56   Input:
57           #fsdb test
58           a
59           b
60
61   Command:
62           cat data.fsdb | dbcolcreate foo
63
64   Output:
65           #fsdb      test    foo
66           a       -
67           b       -
68

SEE ALSO

70       Fsdb.
71

CLASS FUNCTIONS

73   new
74           $filter = new Fsdb::Filter::dbcolcreate(@arguments);
75
76       Create a new dbcolcreate object, taking command-line arguments.
77
78   set_defaults
79           $filter->set_defaults();
80
81       Internal: set up defaults.
82
83   parse_options
84           $filter->parse_options(@ARGV);
85
86       Internal: parse command-line arguments.
87
88   setup
89           $filter->setup();
90
91       Internal: setup, parse headers.
92
93   run
94           $filter->run();
95
96       Internal: run over each rows.
97
99       Copyright (C) 1991-2018 by John Heidemann <johnh@isi.edu>
100
101       This program is distributed under terms of the GNU general public
102       license, version 2.  See the file COPYING with the distribution for
103       details.
104
105
106
107perl v5.28.1                      2018-02-17      Fsdb::Filter::dbcolcreate(3)
Impressum