in reply to Reading and *writing* configuration files
There is BIND::Conf_Parser which is a base class for parsing 8.x named.conf files. In a nutshell to retain bits of an existing conf file you first need to parse it so you can find the bits you want to keep, change the bits you want to change, then put Humpty Dumpty back together again....
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Reading and *writing* configuration files
by DeathBunny (Sexton) on Apr 09, 2002 at 15:11 UTC | |
by tachyon (Chancellor) on Apr 09, 2002 at 15:20 UTC | |
by DeathBunny (Sexton) on Apr 10, 2002 at 21:38 UTC | |
by tachyon (Chancellor) on Apr 10, 2002 at 22:39 UTC |