Mailinglist Archive: yast-devel (77 mails)

< Previous Next >
Re: [yast-devel] manipulating multi-section configuration files
  • From: Jiří Suchomel <jsuchome@xxxxxxx>
  • Date: Wed, 21 Jan 2009 12:22:03 +0100
  • Message-id: <200901211222.03807.jsuchome@xxxxxxx>
Hi David,

On st 21. ledna 2009, David Bolt wrote:
I have a configuration file with sections to it, an example of it is
something like this:

I was able to read and write a straight forward configuration file, but
this creates invalid files where there are multiple sections. I just
need to figure out how to figure out how to modify the individual parts
of the file.

try reading ini-agent description, there's a part about multiple sections. The
documentation is part of your yast2-core-devel package:


As examples, look into the scr files installed on your system
under /usr/share/YaST2/scrconf

Jiri Suchomel

SUSE LINUX, s.r.o. e-mail: jsuchome@xxxxxxx
Lihovarská 1060/12 tel: +420 284 028 960
190 00 Praha 9, Czech Republic
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >