Randy McMurchy wrote these words on 04/09/06 15:33 CST:
> sed -i "1,/<\/sect2>/ s|.*</sect2>| <para condition=\"html\"
> role=\"usernotes\">User Notes:\\
> <ulink url=\"\&blfs-wiki;/`basename $FILENAME .xml`\"/></para>\\
> \\
> &|" $FILENAME
I forgot to mention, I'll run the following sed also against a list of
all the package .xml files:
sed -i -e '/<seglistitem>/,/<\/seglistitem>/ s/\[/{/g' \
-e '/<seglistitem>/,/<\/seglistitem>/ s/\]/}/g' \
$FILENAME
This should have the affect of changing all the .[so,a] instances to
.{so,a} and the instances where the directory listings have brackets
instead of braces.
--
Randy
rmlscsi: [bogomips 1003.28] [GNU ld version 2.16.1] [gcc (GCC) 4.0.3]
[GNU C Library stable release version 2.3.6] [Linux 2.6.14.3 i686]
16:08:00 up 15 days, 3:45, 1 user, load average: 0.00, 0.00, 0.00
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page