DBFDUMP(1)

πŸ“¦
version 1.08 Β· 2 versions
, in fedora 43

πŸ’Ύ 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 --SQL parameter, outputs the SQL create table πŸ‘‘
  • --version β€” print version of the XBase library
  • --table β€” output in nice table format (only available when Data::ShowTable is installed, overrides rs and fs)
lowkey important: that --table one is only there if Data::ShowTable is installed, and when it shows up it overrides rs and fs. 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 πŸ’–

perl(1); XBase(3)


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