DBF_DUMP(1p)
πΎ DBF_DUMP(1p) β dump the record of the dbf file
okay bestie, gather round π this is dbf_dump, a little Perl script from the User Contributed Perl Documentation corner of your manual pages (section 1p, iykyk), and it is literally here to spill the entire contents of a dbf file to your terminal. no cap.
β¨ FORMAT β¨
dbf_dump [options] files
where options are
--rsβ output record separator (default newline)--fsβ output field separator (default colon)--fieldsβ comma separated list of fields to print (default all)--undefβ string to print for NULL values (default empty)--memofileβ specifies unstandard name of attached memo file--memosepβ separator for dBase III dbt's (default\x1a\x1a)--nomemoβ do not try to read the memo (dbt/fpt) file--infoβ print info about the file and fields; with additional--SQLparameter, outputs the SQL create table--versionβ print version of the XBase library--tableβ output in nice table format (only available whenData::ShowTableis installed, overridesrsandfs)
heads up queen:--tableis a whole vibe but it's β¨ conditional β¨ β ifData::ShowTableisn't installed, it's not available. and when it is around, it overridesrsandfs, so don't fight it.
πΈ SYNOPSIS πΈ
dbf_dump -fields id,msg table.dbf
dbf_dump -fs=' : ' table
dbf_dump --nomemo file.dbf
ssh user@host 'cat file.dbf.gz' | gunzip - | dbf_dump -
look at that last one π piping a gzipped dbf straight over ssh into dbf_dump -?? that's main character energy fr fr.
π¦ DESCRIPTION π¦
dbf_dump prints to standard output the content of dbf files listed. by default? it prints all fields, separated by colons, one record on a line. that's the default vibe π
the output record and column separators can be changed by switches on the command line β you're in control, bestie. you can also ask only for some fields to be printed, so if you only care about two columns out of forty, you get to say so.
the content of associated memo files (dbf, fpt) is printed for memo fields, unless you use the --nomemo option. so like, memo content shows up by default, and --nomemo is you saying "not today π".
you can specify reading the standard input by putting dash (-) instead of file name. yes, the humble dash. iconic.
π AVAILABLE FROM π
http://www.adelton.com/perl/DBD-XBase/
π AUTHOR π
(c) 1998--2011 Jan Pazdziora.
π SEE ALSO π
perl(1); XBase(3pm); index_dump(1p)
and that's the whole page, bestie π«Ά this was perl v5.34.0, dated 2022-06-13 β so if you're reading this way later, hi, you're a time traveler, slay π β¨
π¦ where this page comes from
- debian bookworm: libdbd-xbase-perl 1:1.08-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libdbd-xbase-perl 1:1.08-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libdbd-xbase-perl 1:1.08-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libdbd-xbase-perl 1:1.08-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libdbd-xbase-perl 1:1.08-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms