DBFDUMP(1)
πΎ DBFDUMP(1) β the dbfdump.pl page, but make it cute π
okay bestie, so this is dbfdump.pl from the User Contributed Perl Documentation section of the manual (that's the (1) situation, iykyk). It's giving "tiny Perl script that will absolutely spill the entire contents of your dbf file to your terminal" and honestly? iconic. π«Ά
β¨ NAME β¨
dbfdump.pl β dump the record of the dbf file. that's it. that's the whole job. and it does it flawlessly. π
π FORMAT π
dbfdump.pl [options] files
where the options are, and yes we're listing every single one because we don't gatekeep:
--rsβ output record separator (default: newline)--fsβ output field separator (default: colon)--fieldsβ comma separated list of fields to print (default: all of them, no crumbs left)--undefβ string to print for NULL values (default: empty, so literally nothing)--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 an 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)
lowkey important: that--tableone is only there ifData::ShowTableis installed, and when it shows up it overridesrsandfs. no negotiating. π
πΈ SYNOPSIS πΈ
dbfdump.pl -fields id,msg table.dbf
dbfdump.pl -fs=' : ' table
dbfdump.pl --nomemo file.dbf
ssh user@host 'cat file.dbf.gz' | gunzip - | dbfdump.pl -
look at that last one. piping over ssh through gunzip straight into dbfdump.pl -. main character energy fr fr. π
π¦ DESCRIPTION π¦
Dbfdump prints to standard output the content of the dbf files you listed. By default it prints all the fields, separated by colons, one record per line. classic. simple. slay.
The output record and column separators can be changed by switches on the command line β that's your --rs and --fs moment. You can also ask only for some fields to be printed, because sometimes you don't need the whole fit, just the pieces you're obsessed with. β¨
The content of associated memo files (dbf, fpt) is printed for memo fields, unless you use the --nomemo option. so if you don't want the memo drama, you can just opt out. π
You can specify reading the standard input by putting dash (-) instead of file name. yes bestie, - is the vibe. π
π AVAILABLE FROM π
http://www.adelton.com/perl/DBD-XBase/
π AUTHOR π
(c) 1998--2011 Jan Pazdziora.
π SEE ALSO π
and that's the whole page, no cap. this was perl v5.42.0, dated 2025-07-25 β thanks for reading my little manpage era, bestie, go dump some records π
πβ¨
π¦ where this page comes from
- fedora 43: perl-DBD-XBase 1.08-27.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms