1DBCOLDEFINE(1)        User Contributed Perl Documentation       DBCOLDEFINE(1)
2
3
4

NAME

6       dbcoldefine - define the columns of a plain text file to make it an
7       Fsdb file
8

SYNOPSIS

10       dbcoldefine [-F x] [column...]
11

DESCRIPTION

13       This program writes a new header before the data with the specified
14       column names.  It does not do any validation of the data contents; it
15       is up to the user to verify that, other than the header, the input
16       datastream is a correctly formatted Fsdb file.
17

OPTIONS

19       -F or --fs or --fieldseparator s
20           Specify the field separator.
21
22       --header H
23           Give the columns and field separator as a full Fsdb header
24           (including "#fsdb").  Can only be used alone, not with other
25           specifications.
26
27       This module also supports the standard fsdb options:
28
29       -d  Enable debugging output.
30
31       -i or --input InputSource
32           Read from InputSource, typically a file name, or "-" for standard
33           input, or (if in Perl) a IO::Handle, Fsdb::IO or Fsdb::BoundedQueue
34           objects.
35
36       -o or --output OutputDestination
37           Write to OutputDestination, typically a file name, or "-" for
38           standard output, or (if in Perl) a IO::Handle, Fsdb::IO or
39           Fsdb::BoundedQueue objects.
40
41       --autorun or --noautorun
42           By default, programs process automatically, but Fsdb::Filter
43           objects in Perl do not run until you invoke the run() method.  The
44           "--(no)autorun" option controls that behavior within Perl.
45
46       --help
47           Show help.
48
49       --man
50           Show full manual.
51

SAMPLE USAGE

53   Input:
54           102400      4937974.964736
55           102400      4585247.875904
56           102400      5098141.207123
57
58   Command:
59           cat DATA/http_bandwidth | dbcoldefine size bw
60
61   Output:
62           #fsdb size bw
63           102400      4937974.964736
64           102400      4585247.875904
65           102400      5098141.207123
66           # | dbcoldefine size bw
67

SEE ALSO

69       Fsdb.  dbfilestripcomments
70
72       Copyright (C) 1991-2016 by John Heidemann <johnh@isi.edu>
73
74       This program is distributed under terms of the GNU general public
75       license, version 2.  See the file COPYING with the distribution for
76       details.
77
78
79
80perl v5.30.0                      2019-09-19                    DBCOLDEFINE(1)
Impressum