Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.development.apps > #313

Re: file parsing

From Bill M <wpmccormick@just_about_everywhere.com>
Newsgroups comp.os.linux.development.apps
Subject Re: file parsing
Date 2011-12-13 16:43 -0600
Organization A noiseless patient Spider
Message-ID <jc8keo$t5d$1@dont-email.me> (permalink)
References <jc8h3u$98o$1@dont-email.me> <8762hkyu5j.fsf@araminta.anjou.terraraq.org.uk>

Show all headers | View raw


On 12/13/2011 4:38 PM, Richard Kettlewell wrote:
> Bill M<wpmccormick@just_about_everywhere.com>  writes:
>> I'm running Debian Squeeze. I'm looking to not re-invent the wheel to
>> parse typical config and xml files. Is there some standard lib for
>> config file parsing? It appears that I have libxml2 for xml file
>> parsing, but I don't seem to have/can't seem to find any useful
>> documentation for it. Should I be using the libxml2 package or is
>> another recommendation? Where can I get docs?
>
> XML is a poor choice for config files, but if you need to use libxml2
> for some reason then the documentation is in libxml2-doc.
>
Yes, I agree. I wouldn't use XML for config files.

I found this for parsing ini config files:

http://code.google.com/p/inih/

Looks like exactly what I'm looking for.

Back to comp.os.linux.development.apps | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

file parsing Bill M <wpmccormick@just_about_everywhere.com> - 2011-12-13 15:46 -0600
  Re: file parsing Richard Kettlewell <rjk@greenend.org.uk> - 2011-12-13 22:38 +0000
    Re: file parsing Bill M <wpmccormick@just_about_everywhere.com> - 2011-12-13 16:43 -0600
      Re: file parsing Rainer Weikusat <rweikusat@mssgmbh.com> - 2011-12-13 22:56 +0000
        Re: file parsing David Brown <david@westcontrol.removethisbit.com> - 2011-12-14 08:48 +0100
  Re: file parsing Jasen Betts <jasen@xnet.co.nz> - 2011-12-18 09:57 +0000

csiph-web