Fsdb::F...olcreate(3)
okay so bestie, welcome to the Fsdb::F...olcreate(3) manual page β this one is all about dbcolcreate, and it is lowkey iconic π
β¨
πΈ NAME πΈ
dbcolcreate β create new columns. That is literally the whole name vibe.
β¨ SYNOPSIS β¨
Two moods, depending on whether you want a default value:
dbcolcreate NewColumn1 [NewColumn2]
or
dbcolcreate -e DefaultValue NewColumnWithDefault
π¦ DESCRIPTION π¦
Create columns NewColumn1, etc. with an optional DefaultValue. Slay.
π OPTIONS π
-e EmptyValueor--emptyβ Specify the value newly created columns get. (This is theDefaultValuemoment, iykyk.)-for--firstβ Put all new columns as the first columns of each row. By default, they go at the end of each row.--no-recreate-fatalβ By default, creating an existing column is an error. With--no-recreate-fatal, we ignore re-creation.
This module also supports the standard fsdb options:
-dβ Enable debugging output.-i InputSourceor--input InputSourceβ Read from InputSource, typically a file name, or"-"for standard input, or (if in Perl) aIO::Handle,Fsdb::IOorFsdb::BoundedQueueobjects.-o OutputDestinationor--output OutputDestinationβ Write to OutputDestination, typically a file name, or"-"for standard output, or (if in Perl) aIO::Handle,Fsdb::IOorFsdb::BoundedQueueobjects.--autorunor--noautorunβ By default, programs process automatically, butFsdb::Filterobjects in Perl do not run until you invoke therun()method. The"--(no)autorun"option controls that behavior within Perl.--header Hβ UseHas the full Fsdb header, rather than reading a header from then input.--helpβ Show help.--manβ Show full manual.
π SAMPLE USAGE π
Input:
#fsdb test
a
b
Command:
cat data.fsdb | dbcolcreate foo
Output:
#fsdb test foo
a -
b -
π SEE ALSO π
Fsdb. Go give it a lil kiss π«Ά
π CLASS FUNCTIONS π
π± new
$filter = new Fsdb::Filter::dbcolcreate(@arguments);
Create a new dbcolcreate object, taking command-line arguments.
π± set_defaults
$filter->set_defaults();
Internal: set up defaults.
π± parse_options
$filter->parse_options(@ARGV);
Internal: parse command-line arguments.
π± setup
$filter->setup();
Internal: setup, parse headers.
π± run
$filter->run();
Internal: run over each rows.
π AUTHOR and COPYRIGHT π
Copyright (C) 1991-2022 by John Heidemann <johnh@isi.edu>
This program is distributed under terms of the GNU general public license, version 2. See the file COPYING with the distribution for details.
okay that is the whole manual, bestie π source/version: perl v5.32.1, dated 2024-08-02, for Fsdb::F...olcreate(3). Periodt. π
π¦ where this page comes from
- epel 9: perl-Fsdb 2:3.9-1.el9 Β· GPLv2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms