ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@altlinux.org>
To: ALT Linux sysadmins' discussion <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] parsing *.conf in c++
Date: Tue, 13 Jan 2015 16:44:00 +0300
Message-ID: <20150113134400.GI31160@imap.altlinux.org> (raw)
In-Reply-To: <1058456448.20150105013818@rambler.ru>

On Mon, Jan 05, 2015 at 01:38:18AM +0300, Alexandr ANDREEV wrote:
> Подскажите, как вы парсите файлы конфигов средствами с/с++

Берёте какой-нибудь из существующих проектов, конфиги которого
Вам для своей задачи нравятся, и смотрите -- сами писали или
пользуются чем вроде libconfig.  Только не забудьте проверить,
сколько было сообщений о дырках в софтинке.

PS: это скорее тема для community@ или
http://www.opennet.ru/cgi-bin/openforum/vsluhboard.cgi?az=list&forum=vsluhforumID9&dir_topic=101
-- sysadmins@ создавалась всё-таки не для обсуждения разработки :)

-- 
 ---- WBR, Michael Shigorin / http://altlinux.org
  ------ http://opennet.ru / http://anna-news.info


      reply	other threads:[~2015-01-13 13:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-12 20:59 [Sysadmins] I: p7 starterkits (20141212) Michael Shigorin
2015-01-04 22:38 ` [Sysadmins] parsing *.conf in c++ Alexandr ANDREEV
2015-01-13 13:44   ` Michael Shigorin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150113134400.GI31160@imap.altlinux.org \
    --to=mike@altlinux.org \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git