Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: question about linker Date: Wed, 04 Dec 2024 15:29:04 -0800 Organization: None to speak of Lines: 29 Message-ID: <87ikrz10zj.fsf@nosuchdomain.example.com> References: <8734j9sj0f.fsf@nosuchdomain.example.com> <87ttbpqzm1.fsf@nosuchdomain.example.com> <_o14P.71646$hspc.53247@fx10.iad> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Thu, 05 Dec 2024 00:29:05 +0100 (CET) Injection-Info: dont-email.me; posting-host="7392a70ceafa2370b36a4bd73810300d"; logging-data="1211084"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19beCEJq0llVKIRy9Po6Bj2" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:6tvh52jqVk3aP4lVx+DPpZGJJH8= sha1:udrvoUtebkVAN9m4yuh64ckpnw0= Bytes: 2480 scott@slp53.sl.home (Scott Lurndal) writes: > Bart writes: [...] >>Do you use a formal grammar when parsing a CSV file, or something >>equally trivial? I wouldn't call CSV trivial, and yes, I'd want to have a precise specification of the format in front of me if I wanted to implement it. RFC 4180 seems to be the closest thing we have to a standard, but it's not universally followed. > I don't parse csv files, there are dozens of tools already > available to perform that action for me with no need > to reinvent the wheel. > > for example, cvstool comes with most linux distributions: > > https://github.com/maroofi/csvtool The csvtool that's available for most Linux distributions isn't that one. It's another tool of the same name, implemented in OCaml, with a completely different user interface. I don't know whether they implement the same CSV specification. https://github.com/Chris00/ocaml-csv -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com void Void(void) { Void(); } /* The recursive call of the void */