El Lunes, 27 de Marzo de 2006 19:15, Randy McMurchy escribió:

> 1. Loop through the book looking for .xml files that have a
> <sect 1 ...> header.

Searching for role="package" will skip all no packages files.

> 2. Get the name of the package from the 'xreflabel' of the
> <sect 1 ...> header.
>
> 2. Use a sed to insert the wiki stuff before these lines in each
> file (I'm almost certain each file would have this):
>   </sect2>
>
>   <sect 2 role="installation">

A few ones has a role="kernel" section on top of the "installation" one. Could 
be more safer to let sed to insert the wiki stuff just before the first 
</sect2> occurrence.

-- 
Manuel Canales Esparcia
Usuario de LFS nº2886:       http://www.linuxfromscratch.org
LFS en castellano: http://www.escomposlinux.org/lfs-es http://www.lfs-es.com
TLDP-ES:                           http://es.tldp.org
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to