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       --header H
50           Use H as the full Fsdb header, rather than reading a header from
51           then input.
52
53       --help
54           Show help.
55
56       --man
57           Show full manual.
58

SAMPLE USAGE

60   Input:
61           #fsdb test
62           a
63           b
64
65   Command:
66           cat data.fsdb | dbcolcreate foo
67
68   Output:
69           #fsdb      test    foo
70           a       -
71           b       -
72

SEE ALSO

74       Fsdb.
75
77       Copyright (C) 1991-2022 by John Heidemann <johnh@isi.edu>
78
79       This program is distributed under terms of the GNU general public
80       license, version 2.  See the file COPYING with the distribution for
81       details.
82
83
84
85perl v5.34.1                      2022-04-04                    DBCOLCREATE(1)
Impressum