{textdump} to configfiles

Kevin P. Fleming kpfleming at linuxfromscratch.org
Wed Feb 23 22:27:06 PST 2005


Joachim Beckers wrote:

> The blfs-profile mailinglist is temporarily unavailable, so I'll ask my 
> question here: What would be the best way to convert the {textdump}'s in 
> the blfs profile to configfiles?

I didn't know there was a BLFS profile mailing list... not sure that's a 
good thing.

> I was thinking of some kind of cli-magic to put together a list of files 
> that need to be changed (something like "xmllint --noent --xinclude 
> BLFS.xml | grep -A 5 {textdump}", don't know wether that would do the 
> trick) and then editing those files by hand.
> Any other ideas?

I think a Perl script could be built to do this reasonably well... or 
even Python, if the guys getting their feet wet with Python/XML want to 
take a crack at it!



More information about the alfs-discuss mailing list