Update README

This commit is contained in:
Evan Miller 2020-08-06 12:51:45 -04:00
parent edc20bcc39
commit 2117195fac

View File

@ -51,69 +51,24 @@ Builds on libmdb to provide a SQL engine (aka Jet)
Provids command line utilities, including: Provids command line utilities, including:
### mdb-ver | Command | Description |
| ------- | ----------- |
Prints the version (JET 3 or 4) of an mdb file. | mdb-ver | Prints the version (JET 3 or 4) of an mdb file. |
| mdb-schema | Prints DDL for the specified table. |
### mdb-schema | mdb-export | Export table to CSV format. |
| mdb-tables | A simple dump of table names to be used with shell scripts. |
Prints DDL for the specified table. | mdb-count | A simple count of number of rows in a table, to be used in shell scripts and ETL pipelines. |
| mdb-header | Generates a C header to be used in exporting mdb data to a C prog. |
### mdb-export | mdb-parsecsv | Generates a C program given a CSV file made with mdb-export. |
| mdb-sql | A simple SQL engine (also used by ODBC and gmdb). |
Export table to CSV format. | prcat | Prints the catalog table from an mdb file. |
| prkkd | Dump of information about design view data given the offset to it. |
### mdb-tables | prtable | Dump of a table definition. |
| prdata | Dump of the data given a table name. |
A simple dump of table names to be used with shell scripts. | prole | Dump of ole columns given a table name and sargs. |
| odbc | An ODBC driver for use with unixODBC or iODBC driver manager. Allows one to use MDB files with PHP for example. |
### mdb-count | gmdb2 | The Gnome MDB File Viewer and debugger. Still alpha. |
| mdb-hexdump | (in src/extras) Simple hex dump utility that I've been using to look at mdb files. |
A simple count of number of rows in a table, to be used in shell scripts and ETL pipelines.
### mdb-header
Generates a C header to be used in exporting mdb data to a C prog.
### mdb-parsecsv
Generates a C program given a CSV file made with mdb-export.
### mdb-sql
A simple SQL engine (also used by ODBC and gmdb).
### prcat
Prints the catalog table from an mdb file.
### prkkd
Dump of information about design view data given the offset to it.
### prtable
Dump of a table definition.
### prdata
Dump of the data given a table name.
### prole
Dump of ole columns given a table name and sargs.
## odbc
An ODBC driver for use with unixODBC or iODBC driver manager. Allows one to use MDB files with PHP for example.
## gmdb2
The Gnome MDB File Viewer and debugger. Still alpha, but making great progress.
## src/extras/mdb-hexdump
Simple hex dump utility that I've been using to look at mdb files.
# License # License
@ -150,7 +105,7 @@ If you want to generate the html version of the docbook, you'll need
Last version is available at https://github.com/evanmiller/mdbtools Last version is available at https://github.com/evanmiller/mdbtools
```bash ```bash
$ autoreconf -i -f $ autoreconf -i -f -Wno-portability
``` ```
If you want to build the html version of the docbook documentation, you need to If you want to build the html version of the docbook documentation, you need to
@ -169,6 +124,13 @@ OR for a complete install (requires bison, flex, and unixODBC):
$ ./configure --with-unixodbc=/usr/local $ ./configure --with-unixodbc=/usr/local
``` ```
By default, MDB Tools is linked against the copy of
[GLib](https://developer.gnome.org/glib/) returned by pkg-config. You can
point to a different GLib installation using the `GLIB_CFLAGS` and `GLIB_LIBS`
enivornment variables. Or, you can disable GLib entirely with the
`--disable-glib` flag, in which case MDB Tools will use an internal
implementation of GLib's functions.
configure can be passed any of the following flags to turn on other configure can be passed any of the following flags to turn on other
capabilities. Note that the options `--with-unixodbc` and `--with-iodbc` are capabilities. Note that the options `--with-unixodbc` and `--with-iodbc` are
mutually exclusive. mutually exclusive.