.\" Text automatically generated by txt2man .TH mdb-parsecsv 1 "03 February 2024" "MDBTools 1.0.0" "Executable programs or shell commands" .SH NAME \fBmdb-parsecsv \fP- Convert CSV table dump into C file. \fB .SH SYNOPSIS .nf .fam C \fBmdb-parsecsv\fP \fIfile\fP .fam T .fi .fam T .fi .SH DESCRIPTION \fBmdb-parsecsv\fP is a utility program distributed with MDB Tools. .PP \fBmdb-parsecsv\fP takes a CSV \fIfile\fP representing a database table, and converts it into a C array. .SH NOTES If the first argument does not exist as a \fIfile\fP, \fBmdb-parsecsv\fP will look for the same filename with '.txt' appended. .PP The \fIfile\fP extension is stripped, and the output written to the base name plus a '.c' extension. .SH ENVIRONMENT .TP .B MDB_JET3_CHARSET Defines the charset of the input JET3 (access 97) \fIfile\fP. Default is CP1252. See \fBiconv\fP(1). .TP .B MDBICONV Defines the output charset to use for the SQL \fIfile\fP. Default is UTF-8. mdbtools must have been compiled with iconv. .TP .B MDBOPTS Colon-separated list of options: .RS .IP \(bu 3 debug_like .IP \(bu 3 debug_write .IP \(bu 3 debug_usage .IP \(bu 3 debug_ole .IP \(bu 3 debug_row .IP \(bu 3 debug_props .IP \(bu 3 debug_all is a shortcut for all debug_* options .IP \(bu 3 no_memo (deprecated; has no effect) .IP \(bu 3 use_index (experimental; requires libmswstr) .SH FUTURE DIRECTIONS \fBmdb-parsecsv\fP is deprecated. Soon, it will no longer be distributed. .PP It is the feeling of developers that it is not used, as C code generation is now usually replaced by more generic approaches, including libmdb calls and odbc. .PP However, should you find this tool useful, drop us a line at https://github.com/mdbtools/mdbtools/issues/197 and we'll consider maintaining it. .SH SEE ALSO \fBmdb-array\fP(1) \fBmdb-count\fP(1) \fBmdb-export\fP(1) \fBmdb-header\fP(1) \fBmdb-hexdump\fP(1) \fBmdb-import\fP(1) \fBmdb-json\fP(1) \fBmdb-prop\fP(1) \fBmdb-queries\fP(1) \fBmdb-schema\fP(1) \fBmdb-sql\fP(1) \fBmdb-tables\fP(1) \fBmdb-ver\fP(1) .SH AUTHORS The \fBmdb-parsecsv\fP utility was written by Brian Bruns.