1DBCOLCREATE(1)        User Contributed Perl Documentation       DBCOLCREATE(1)
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
73       Copyright (C) 1991-2018 by John Heidemann <johnh@isi.edu>
74
75       This program is distributed under terms of the GNU general public
76       license, version 2.  See the file COPYING with the distribution for
77       details.
78
79
80
81perl v5.30.0                      2019-09-19                    DBCOLCREATE(1)
Impressum