TonyGroves
Programmer
I'm looking for a program which reads/edits simple configuration files of the format used by Samba and other (particularly Windows) software, with a structure like:[tt]
[Section]
Key = value[/tt]
The syntax would probably be something like:[tt]
ini read sectionname <infile
ini read sectionname keyname <infile
ini write sectionname keyname valuestring <infile >outfile
ini delete sectionname <infile >outfile
ini delete sectionname keyname <infile >outfile[/tt]
Does anybody know of such a program, to save me reinventing the wheel?
Thanks.
[Section]
Key = value[/tt]
The syntax would probably be something like:[tt]
ini read sectionname <infile
ini read sectionname keyname <infile
ini write sectionname keyname valuestring <infile >outfile
ini delete sectionname <infile >outfile
ini delete sectionname keyname <infile >outfile[/tt]
Does anybody know of such a program, to save me reinventing the wheel?
Thanks.