DBVIEW(1)
π DBVIEW β ok bestie, it's dbview(1) time π
πΈ NAME πΈ
dbview β the little tool that lets you view dBase III files π¦ (and lowkey convert them too, we'll get there).
β¨ SYNOPSIS β¨
dbview [-b|--browse] [-d delim| --delimiter delim] [-D|--deleted]
[-e|--description] [-h|--help] [-i|--info] [-o|--omit] [-v|--version]
[-r|--reserve] [-t|--trim] dbfile
Yes the flags are a whole alphabet soup, don't panic, we're going through every single one below, fr fr π
π DESCRIPTION π
So. Dbview is this adorable little tool that displays dBase III files. And like, not just displays them β you can also use it to convert your old .dbf files so you can actually do stuff with them on Unix. It should also work with dBase IV files, but ngl that's mostly untested π.
By default, dbview displays the contents of a dBase III or IV database file. It does this by showing you both the name of the field itself and its value. And at the end of every record, a newline gets appended. Cute, consistent, no notes π
π₯ OPTIONS π₯
If you give it no option at all, dbview just displays the database in its most friendly way. Which honestly? A vibe. π«Ά
--browse,-bβ switches into browse mode. In this mode, no fieldnames get displayed β instead every record is displayed in one line, using a delimiter to separate the fields. Sleek. Minimal. Iconic.--delimiter,-ddelimiter β the default delimiter in browse mode is the colon sign:. This parameter overrides it. This is especially useful if you're planning to examine the output with scripts, iykyk π--deleted,-Dβ displays deleted records as well as the delete state in each record in the database. Yes bestie, the ghosts are still in there π»--description,-eβ displays the field description of the database. The whole backstory of your columns β¨--help,-hβ displays a complete (or short) help screen. Your classic cry-for-help flag, we love her π--info,-iβ displays some (partially technical) information about the database, like number of records and length of each record. The stats girlies stay fed π--omit,-oβ omits displaying the whole database. Super useful if you're only interested in the structure β like, we're not here for the data, we're here for the architecture π--reserve,-rβ normally fieldnames get converted into a more friendly format. They're stored in CAPITAL LETTERS, which, let's be real, looks like shouting. This parameter suppresses the conversion. No more yelling bestie π£οΈ--trim,-tβ when this option is specified, leading and trailing spaces are omitted. This might be useful when in browse mode. Marie Kondo-ing your whitespace βοΈ--version,-vβ displays version and exits. Bye π
π§ NOTES π§
Okay so this part is important, listen up. Because dBase is DOS, umlauts are stored using a different code table (namely ASCII) than most modern unices (namely ANSI). So if you encounter such a file, I would recommend piping the output through recode(1) with ibmpc:latin1 as its argument. Trust the process π
And 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. Mix and match, chef's kiss π
π COPYRIGHT π
Dbview is free software. It's based on routines from unknown source that I found on nic.funet.fi in /pub/msdos/languages/c as dbase.c. That file contained the following notice:
These functions are provided by Valour Software as a gift.
I have modified and included this file and wrote a skeleton around it. All together provides a powerful tool for dBase III and IV database manipulation under Unix.
I mainly have written this program, because I've got several dbase files containing important information for me. As I won't go running DOS every time I need some of the stored information, I had to find a viewer that runs unter Unix, resp. Linux, but unfortunately didn't find one. So it was my turn. π
This package as a whole is published under the GNU Public License, which is a great invention. π
It wasn't the intention to write a freaking viewer and reinvent the wheel again. Instead dbview is intend to be used in conjunction with your favourite unix text utilities like cut, recode and more. Combo moves only π
Martin Schulze Infodrom Oldenburg joey@infodrom.north.de
π¦ SEE ALSO π¦
recode(1), more(1), awk(1), cut(1).
And that's the whole page bestie β this was the Unix manual, dated November 20th, 2006, and no cap it ate. Go read your dbf files, you absolute icon πβ¨
π¦ where this page comes from
- debian bookworm: dbview 1.0.4-5 Β· GPL-2.0-or-later
- debian trixie: dbview 1.0.4-6 Β· GPL-2.0-or-later
- ubuntu noble: dbview 1.0.4-5 Β· GPL-2.0-or-later
- ubuntu questing: dbview 1.0.4-6
- ubuntu resolute: dbview 1.0.4-7 Β· GPL-2.0-or-later
- ubuntu stonking: dbview 1.0.4-7 Β· GPL-2.0-or-later
- Copyright (c) 1996,2003,6 Martin Schulze <joey@infodrom.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms