logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

dbview - View dBase III files

Description

Dbview is a little tool that will display dBase III files.  You can also use it to convert your old  .dbf
       files for further use with Unix.  It should also work with dBase IV files, but this is mostly untested.

       By  default  dbview  displays  the  contents  of  a  dBase  III  or IV database file.  This is be done by
       displaying both the name of the field itself and its value.  At the end of  every  record  a  newline  is
       appended.

Name

       dbview - View dBase III files

Notes

       As  dBase  is DOS, umlauts are stored using a different code table (namely ASCII) than most modern unices
       (namely ANSI).  If you encounter such a file, I would recommend piping the output through recode(1)  with
       ibmpc:latin1 as it's argument.

       If you want to examine the output generated by the browse mode, just take cut(1) and set its delimiter to
       the used delimiter or take awk(1) and continue.

Options

       If no option given dbview only displays the database in its most friendly way.

       --browse,-b
              switches  into browse mode.  Using this mode no fieldnames will be displayed, instead every record
              will displayed in one line using a delimiter to separate fields.

       --delimiter,-ddelimiter
              The default delimiter in browse mode is the colon sign ``:''.  This parameter overrides it.   This
              can be useful especially if you plan to examine the output with scripts.

       --deleted,-D
              displays deleted records as well as the delete state in each record in the database.

       --description,-e
              displays the field description of the database.

       --help,-h
              displays a complete (or short) help screen.

       --info,-i
              displays  some  (partially  technical)  information  about the database like number of records and
              length of each record.

       --omit,-o
              omits displaying the whole database.  Using this parameter can be useful if you're only interested
              in the structure.

       --reserve,-r
              Normally fieldnames are converted into a  more  friendly  format.   They  are  stored  in  capital
              letters, but that looks like shouting.  This parameter suppresses the conversion.

       --trim,-t
              When this option is specified, leading and trailing spaces are omitted.  This might be useful when
              in browse mode.

       --version,-v
              displays version and exits.

See Also

recode(1), more(1), awk(1), cut(1).

Unix                                           November 20th, 2006                                     DBVIEW(1)

Synopsis

dbview   [-b|--browse]  [-ddelim|  --delimiterdelim]  [-D|--deleted]  [-e|--description]  [-h|--help]
       [-i|--info] [-o|--omit] [-v|--version] [-r|--reserve] [-t|--trim] dbfile

See Also