tclcsv 2.4.2 released - update for Tcl 9.
The tclcsv extension for Tcl provides a fast and flexible means of
reading and writing text files in Comma Separated Value (CSV) format. >Includes a UI widget for sniffing CSV dialects.
Docs: https://tclcsv.magicsplat.com
Download: https://sourceforge.net/projects/tclcsv/files/ >Repository:https://github.com/apnadkarni/tcl-csv
tclcsv 2.4.2 released - update for Tcl 9.
The tclcsv extension for Tcl provides a fast and flexible means of reading and writing text files in Comma Separated Value (CSV) format.
Includes a UI widget for sniffing CSV dialects.
Docs: https://tclcsv.magicsplat.com
Download: https://sourceforge.net/projects/tclcsv/files/ Repository:https://github.com/apnadkarni/tcl-csv
Am 30.09.2024 um 18:37 schrieb Ashok:
tclcsv 2.4.2 released - update for Tcl 9.
The tclcsv extension for Tcl provides a fast and flexible means of
reading and writing text files in Comma Separated Value (CSV) format.
Includes a UI widget for sniffing CSV dialects.
Docs: https://tclcsv.magicsplat.com
Download: https://sourceforge.net/projects/tclcsv/files/
Repository:https://github.com/apnadkarni/tcl-csv
I get the following errors when trying to compile on Windows with gcc:
generic/csv.c: In function 'csv_format_cell':
generic/csv.c:1877:49: error: invalid operands to binary - (have 'long
long int' and 'char *')
Tcl_DStringSetLength(ds, (Tcl_Size) dst - p);
~~~~~~~~~~~~~~ ^
generic/csv.c:1928:45: error: invalid operands to binary - (have 'long
long int' and 'char *')
Tcl_DStringSetLength(ds, (Tcl_Size) dst - p);
I assume, the Tcl_DStringSetLength lines should be:
Tcl_DStringSetLength(ds, (Tcl_Size) (dst - p));
Paul
In article <vdek4i$2a8ek$2@dont-email.me>,
Ashok <apnmbx-public@yahoo.com> wrote:
tclcsv 2.4.2 released - update for Tcl 9.
The tclcsv extension for Tcl provides a fast and flexible means of
reading and writing text files in Comma Separated Value (CSV) format.
Includes a UI widget for sniffing CSV dialects.
Docs: https://tclcsv.magicsplat.com
Download: https://sourceforge.net/projects/tclcsv/files/
Repository:https://github.com/apnadkarni/tcl-csv
I was unaware of this. When would I use this rather than the CSV package
in tcllib? Is it a case of more efficient, or are there other differences?
If you are happy with tcllib's csv, I would suggest keep using it.
Always easier to distribute Tcl than a binary.
What tclcsv gives you other than speed, is more options for configuring
the CSV dialect (delimiters, quoting method, headers etc.), a feature to >guess ("sniff") the dialect, and a Tk preview widget (a la Excel CSV
import) - see https://tclcsv.magicsplat.com/#tclcsv_dialectpicker
/Ashok
Sysop: | DaiTengu |
---|---|
Location: | Appleton, WI |
Users: | 991 |
Nodes: | 10 (0 / 10) |
Uptime: | 119:54:31 |
Calls: | 12,958 |
Files: | 186,574 |
Messages: | 3,265,641 |