Forum OpenACS Q&A: Re: proc like ns_getcsv for char delimited files?

Collapse
Posted by Torben Brosten on
Thanks, Tom.

"What would be the reason for not using a standard csv format?"

1. A bunch of existing tcl programs that use the same existing info (tab delimited files).

2. exporting to csv from a client's proprietary program results in noncompliant csv file formats.

Given the aolserver documentation, I'm thinking split, llength and eof should about do it.

The proc will be added to tcl/ecommerce-utilities-procs.tcl (unless someone suggests differently). I'll post it once I've tested it... ec_getsdelim