From 93f109ecb826bf5005c79d5cbf628b842383053b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nirgal=20Vourg=C3=A8re?= Date: Wed, 21 Oct 2020 12:48:20 +0200 Subject: [PATCH] Added some manuals, updated AUTHORS --- AUTHORS | 10 ++++++++-- doc/Makefile.am | 4 +++- doc/mdb-count.txt | 38 ++++++++++++++++++++++++++++++++++++++ doc/mdb-json.txt | 42 ++++++++++++++++++++++++++++++++++++++++++ doc/mdb-queries.txt | 42 ++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 133 insertions(+), 3 deletions(-) create mode 100644 doc/mdb-count.txt create mode 100644 doc/mdb-json.txt create mode 100644 doc/mdb-queries.txt diff --git a/AUTHORS b/AUTHORS index 1841e64..25a7533 100644 --- a/AUTHORS +++ b/AUTHORS @@ -40,5 +40,11 @@ Tim Retout Nirgal Vourgère postgres fixes and adds, bug fixes -@kodonnell - added (trivial) mdb-count utility +Kane O'Donnell + Added mdb-count utility. + +Leonard Leblanc + Added mdb-queries utility. + +Ugo Di Girolamo + Added mdb-json utility. diff --git a/doc/Makefile.am b/doc/Makefile.am index cc4eab8..2caa116 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -6,7 +6,8 @@ PRODUCT = MDBTools dist_man_MANS = if ENABLE_MAN dist_man_MANS += mdb-tables.1 mdb-ver.1 mdb-export.1 mdb-schema.1 mdb-sql.1 \ - mdb-array.1 mdb-header.1 mdb-hexdump.1 mdb-parsecsv.1 mdb-prop.1 mdb-import.1 + mdb-array.1 mdb-header.1 mdb-hexdump.1 mdb-parsecsv.1 mdb-prop.1 mdb-import.1 \ + mdb-count.1 mdb-json.1 mdb-queries.1 endif if ENABLE_DOCBOOK dist_man_MANS += install.tgz @@ -14,6 +15,7 @@ endif CLEANFILES = ${dist_man_MANS} install install.tgz EXTRA_DIST = mdb-tables.txt mdb-ver.txt mdb-export.txt mdb-schema.txt mdb-sql.txt \ mdb-array.txt mdb-header.txt mdb-hexdump.txt mdb-parsecsv.txt mdb-prop.txt mdb-import.txt \ + mdb-count.txt mdb-json.txt mdb-queries.txt \ faq.html install.sgml txt2man .txt.1: diff --git a/doc/mdb-count.txt b/doc/mdb-count.txt new file mode 100644 index 0000000..c6d0d80 --- /dev/null +++ b/doc/mdb-count.txt @@ -0,0 +1,38 @@ +NAME + mdb-count - Get listing of tables in an MDB database + +SYNOPSIS + mdb-count file table + +DESCRIPTION + mdb-count is a utility program distributed with MDB Tools. + + It outputs the number of rows in a table. + +OPTIONS + +NOTES + +ENVIRONMENT + MDB_JET3_CHARSET Defines the charset of the input JET3 (access 97) file. Default is CP1252. See iconv(1). + MDBICONV Defines the output charset. Default is UTF-8. mdbtools must have been compiled with iconv. + MDBOPTS semi-column separated list of options: + * use_index + * no_memo + * debug_like + * debug_write + * debug_usage + * debug_ole + * debug_row + * debug_props + * debug_all is a shortcut for all debug_* options + +HISTORY + mdb-count first appeared in MDB Tools 0.9. + +SEE ALSO + mdb-export(1) mdb-hexdump(1) mdb-import(1) mdb-prop(1) mdb-sql(1) mdb-ver(1) + mdb-array(1) mdb-header(1) mdb-parsecsv(1) mdb-schema(1) mdb-tables(1) + +AUTHORS + The mdb-count utility was written by Kane O'Donnell. diff --git a/doc/mdb-json.txt b/doc/mdb-json.txt new file mode 100644 index 0000000..a694340 --- /dev/null +++ b/doc/mdb-json.txt @@ -0,0 +1,42 @@ +NAME + mdb-json - Export data in an MDB database table to JSON. + +SYNOPSIS + mdb-json [-D fmt] [-T fmt] [-U] database table + mdb-json -h|--help + +DESCRIPTION + mdb-json is a utility program distributed with MDB Tools. + + It produces a CSV (comma separated value) output for the given table. Such output is suitable for importation into databases or spreadsheets. + +OPTIONS + -D, --date-format fmt Set the date format (see strftime(3) for details). + -T, --time-format fmt Set the date/time format (see strftime(3) for details). + -U, --no-unprintable Change unprintable characters to spaces (otherwise escaped as \\u00XX) + +NOTES + +ENVIRONMENT + MDB_JET3_CHARSET Defines the charset of the input JET3 (access 97) file. Default is CP1252. See iconv(1). + MDBICONV Defines the output charset to use for the SQL file. Default is UTF-8. mdbtools must have been compiled with iconv. + MDBOPTS semi-column separated list of options: + * use_index + * no_memo + * debug_like + * debug_write + * debug_usage + * debug_ole + * debug_row + * debug_props + * debug_all is a shortcut for all debug_* options + +SEE ALSO + mdb-export(1) mdb-hexdump(1) mdb-prop(1) mdb-sql(1) mdb-ver(1) mdb-array(1) mdb-header(1) + mdb-parsecsv(1) mdb-schema(1) mdb-tables(1) mdb-import(1) + +HISTORY + mdb-json first appeared in MDB Tools 0.9. + +AUTHORS + The mdb-json utility was written by Ugo Di Girolamo. It is based on mdb-export(1). diff --git a/doc/mdb-queries.txt b/doc/mdb-queries.txt new file mode 100644 index 0000000..f6ddb5d --- /dev/null +++ b/doc/mdb-queries.txt @@ -0,0 +1,42 @@ +NAME + mdb-queries - Get listing of tables in an MDB database + +SYNOPSIS + mdb-queries [-L] [-1] [-d delim] database query + mdb-queries -h|--help + +DESCRIPTION + mdb-queries is a utility program distributed with MDB Tools. + + It produces a list of queries in the database, and dump the SQL associated with a specific query. + +OPTIONS + -L List queries in the database (default if no query name is passed) + -1 Use newline as the delimiter (used in conjuction with listing) + -d delim Specify delimiter to use + +NOTES + +ENVIRONMENT + MDB_JET3_CHARSET Defines the charset of the input JET3 (access 97) file. Default is CP1252. See iconv(1). + MDBICONV Defines the output charset. Default is UTF-8. mdbtools must have been compiled with iconv. + MDBOPTS semi-column separated list of options: + * use_index + * no_memo + * debug_like + * debug_write + * debug_usage + * debug_ole + * debug_row + * debug_props + * debug_all is a shortcut for all debug_* options + +HISTORY + mdb-queries first appeared in MDB Tools 0.9. + +SEE ALSO + mdb-export(1) mdb-hexdump(1) mdb-import(1) mdb-prop(1) mdb-sql(1) mdb-ver(1) + mdb-array(1) mdb-header(1) mdb-parsecsv(1) mdb-schema(1) + +AUTHORS + The mdb-queries utility was written by Leonard Leblanc.