1Fsdb::Filter::dbfilestrUispecromCmoennttrsi(b3u)ted PerlFsDdobc:u:mFeinlttaetri:o:ndbfilestripcomments(3)
2
3
4

NAME

6       dbfilestripcomments - remove comments from a fsdb file
7

SYNOPSIS

9       dbfilestripcomments [-h]
10

DESCRIPTION

12       Remove any comments in a file, including the header.  This makes the
13       file unreadable by other Fsdb utilities, but perhaps more readable by
14       humans.
15
16       With the -h option, leave the header.
17

OPTIONS

19       -h or --header
20           Retain the header.
21
22       This module also supports the standard fsdb options:
23
24       -d  Enable debugging output.
25
26       -i or --input InputSource
27           Read from InputSource, typically a file name, or "-" for standard
28           input, or (if in Perl) a IO::Handle, Fsdb::IO or Fsdb::BoundedQueue
29           objects.
30
31       -o or --output OutputDestination
32           Write to OutputDestination, typically a file name, or "-" for
33           standard output, or (if in Perl) a IO::Handle, Fsdb::IO or
34           Fsdb::BoundedQueue objects.
35
36       --autorun or --noautorun
37           By default, programs process automatically, but Fsdb::Filter
38           objects in Perl do not run until you invoke the run() method.  The
39           "--(no)autorun" option controls that behavior within Perl.
40
41       --help
42           Show help.
43
44       --man
45           Show full manual.
46

SAMPLE USAGE

48   Input:
49           #fsdb -R C      experiment      mean    stddev  pct_rsd conf_range      conf_low       conf_high        conf_pct        sum     sum_squared     min     max     n
50           experiment:  ufs_mab_sys
51           mean:        37.25
52           stddev:      0.070711
53           pct_rsd:     0.18983
54           conf_range:  0.6353
55           conf_low:    36.615
56           conf_high:   37.885
57           conf_pct:    0.95
58           sum:         74.5
59           sum_squared: 2775.1
60           min:         37.2
61           max:         37.3
62           n:           2
63
64           #  | /home/johnh/BIN/DB/dbmultistats experiment duration
65           #  | /home/johnh/BIN/DB/dblistize
66
67   Command:
68           cat data.fsdb | dbfilestripcomments
69
70   Output:
71           experiment:  ufs_mab_sys
72           mean:        37.25
73           stddev:      0.070711
74           pct_rsd:     0.18983
75           conf_range:  0.6353
76           conf_low:    36.615
77           conf_high:   37.885
78           conf_pct:    0.95
79           sum:         74.5
80           sum_squared: 2775.1
81           min:         37.2
82           max:         37.3
83           n:           2
84

SEE ALSO

86       Fsdb.  dbcoldefine.
87

CLASS FUNCTIONS

89   new
90           $filter = new Fsdb::Filter::dbfilestripcomments(@arguments);
91
92       Create a new dbfilestripcomments object, taking command-line arguments.
93
94   set_defaults
95           $filter->set_defaults();
96
97       Internal: set up defaults.
98
99   parse_options
100           $filter->parse_options(@ARGV);
101
102       Internal: parse command-line arguments.
103
104   setup
105           $filter->setup();
106
107       Internal: setup, parse headers.
108
109   run
110           $filter->run();
111
112       Internal: run over each rows.
113
114   finish
115           $filter->finish();
116
117       Internal: write trailer.  Or in our case, don't.
118
120       Copyright (C) 1991-2008 by John Heidemann <johnh@isi.edu>
121
122       This program is distributed under terms of the GNU general public
123       license, version 2.  See the file COPYING with the distribution for
124       details.
125
126
127
128perl v5.36.0                      2023-01-2F0sdb::Filter::dbfilestripcomments(3)
Impressum