1Fsdb::Filter::tabdelim_Utsoe_rdbC(o3n)tributed Perl DocuFmsednbt:a:tFiiolnter::tabdelim_to_db(3)
2
3
4
6 tabdelim_to_db - convert tab-delimited data into fsdb
7
9 tabdelim_to_db <source.tabdelim >target.fsdb
10
12 Converts a tab-delimited data stream to Fsdb format.
13
14 The input is tab-delimited (not fsdb): the first row is taken to be the
15 names of the columns; tabs separate columns.
16
17 The output is a fsdb file with a proper header and a tab field-
18 separator.
19
20 This module also supports the standard fsdb options:
21
22 -d Enable debugging output.
23
24 -i or --input InputSource
25 Read from InputSource, typically a file name, or "-" for standard
26 input, or (if in Perl) a IO::Handle, Fsdb::IO or Fsdb::BoundedQueue
27 objects.
28
29 -o or --output OutputDestination
30 Write to OutputDestination, typically a file name, or "-" for
31 standard output, or (if in Perl) a IO::Handle, Fsdb::IO or
32 Fsdb::BoundedQueue objects.
33
34 --autorun or --noautorun
35 By default, programs process automatically, but Fsdb::Filter
36 objects in Perl do not run until you invoke the run() method. The
37 "--(no)autorun" option controls that behavior within Perl.
38
39 --help
40 Show help.
41
42 --man
43 Show full manual.
44
46 Input:
47 name email test1
48 Tommy Trojan tt@usc.edu 80
49 Joe Bruin joeb@ucla.edu 85
50 J. Random jr@caltech.edu 90
51
52 Command:
53 tabdelim_to_db
54
55 Output:
56 #fsdb -Ft name email test1
57 Tommy Trojan tt@usc.edu 80
58 Joe Bruin joeb@ucla.edu 85
59 J. Random jr@caltech.edu 90
60 # | dbcoldefine name email test1
61
63 Fsdb.
64
66 new
67 $filter = new Fsdb::Filter::tabdelim_to_db(@arguments);
68
69 Create a new tabdelim_to_db object, taking command-line arguments.
70
71 set_defaults
72 $filter->set_defaults();
73
74 Internal: set up defaults.
75
76 parse_options
77 $filter->parse_options(@ARGV);
78
79 Internal: parse command-line arguments.
80
81 setup
82 $filter->setup();
83
84 Internal: setup, parse headers.
85
86 run
87 $filter->run();
88
89 Internal: run over each rows.
90
92 Copyright (C) 1991-2008 by John Heidemann <johnh@isi.edu>
93
94 This program is distributed under terms of the GNU general public
95 license, version 2. See the file COPYING with the distribution for
96 details.
97
98
99
100perl v5.32.1 2021-01-27 Fsdb::Filter::tabdelim_to_db(3)