in reply to Reading and *writing* configuration files
Another option would be to use something like Template Toolkit to process a skelleton file. If the user has any non-standard edits, they can place them in the skelleton file and they'll be preserved in the output. That of course requires some handwaving if the user expects something of theirs to override the generated output (perhaps use some sort of directive which sets a variable that the generated portion inspects).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Reading and *writing* configuration files
by mrbbking (Hermit) on Apr 09, 2002 at 12:10 UTC | |
|
Re: Re: Reading and *writing* configuration files
by gloryhack (Deacon) on Apr 10, 2002 at 23:41 UTC |