uncsv for DOS
=============
* About
* Documentation
* Build instructions

About
=====
uncsv 0.9.1 for DOS

uncsv.exe   - 16-bit version built with Watcom C
uncsv32.exe - 32-bit version built with DJGPP

See also:

<gopher://tilde.pink/1/~bencollver/files/dos/util/libcsv/>
<gopher://gopher.32kb.net/0/rfc/rfc4180.txt>

Documentation
=============
See README.txt for the manual.

csv.exe has a 16382 byte line limit.

Build instructions
==================
I cross-compile from a Linux host.

Install DJGPP and OpenWatcom v2
-------------------------------
<gopher://tilde.club/7/~freet/gophhub/?
https://github.com/andrewwutw/build-djgpp>
<gopher://tilde.club/7/~freet/gophhub/?https://github.com/open-watcom>

Download sources
----------------
<https://tamentis.com/projects/uncsv/>

Apply DOS patch
---------------
$ patch -p1 <dos.diff

Build 32-bit binaries
---------------------
$ cd src
$ make -f Makefile.src CC=i586-pc-msdosdjgpp-gcc
$ mv csv.exe csv32.exe
$ mv uncsv.exe uncsv32.exe
$ i586-pc-djgpp-strip *32.exe
$ make -f Makefile.src clean

Build 16-bit binaries
---------------------
$ wmake -f Makefile.watcom
$ wstrip csv.exe
$ wstrip uncsv.exe

Clean up
--------
$ wmake -f Makefile.watcom clean

Package
-------
$ mkdir uncsv091
$ cp csv.exe uncsv.exe csv32.exe uncsv32.exe ../dos.dif uncsv/
$ cp ../dos.txt uncsv/
$ cp ../ChangeLog uncsv/ChangeLog.txt
$ cp ../LICENSE uncsv/LICENSE.txt
$ cp ../README uncsv/README.txt