LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-14-2004, 03:46 AM   #1
amitchandel
LQ Newbie
 
Registered: Jun 2004
Posts: 3

Rep: Reputation: 0
generic parser to read/write linux config files


Hello All,
do we have any generic parser to read and write linux configuration files.
specially configuration files of linix application like dhcp server, dns etc.

As all application have there own way of interpreting configuration files each application have there own parsing strategy i want to make it generic, looking for a parser that accepts token, pattern andreturn back values, and write also,

thankfull to all,
bye
 
Old 06-14-2004, 04:00 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 680Reputation: 680Reputation: 680Reputation: 680Reputation: 680Reputation: 680
The book "The Art of Unix Programming" by Eric Raymond has a section on config files you may find worth reading.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Read parameters from config file (file parser?) alaios Programming 8 07-09-2012 11:29 AM
anyone knows a config file parser (Linux/c/c++) Thinking Programming 2 07-28-2005 07:55 AM
Newbie: How to read/write conf/ini files? neo_in_matrix Programming 2 02-22-2005 06:26 PM
difficulties with large files and system call read/write jwstric2 Programming 2 08-22-2004 11:42 PM
How does linux read config files? Thaidog Linux - Newbie 13 05-31-2004 12:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration