dbf_dump(1p)

dbf_dump1p

Dump the record of the dbf file

Usage

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 -}

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 --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)

Overview

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. The output record and column separators can be changed by switches on the command line. You can also ask only for some fields to be printed.

The content of associated memo files (dbf, fpt) is printed for memo fields, unless you use the "--nomemo" option.

You can specify reading the standard input by putting dash (-) instead of file name.

Available from

http://www.adelton.com/perl/DBD-XBase/

Releases

11 releases since Debian 3.1 (Sarge); the text changed 7 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7
  6. 8
  7. 9–11
  8. 12–13

Author

(c) 1998--2011 Jan Pazdziora.

From libdbd-xbase-perl 1:1.08-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.