SEDs in ALFS profiles

Thomas Pegg lnxfreak123 at insightbb.com
Wed Dec 17 07:50:38 PST 2003


On Wed, 2003-12-17 at 09:32, Dave Mascall wrote:
> Hi
> 
> I am trying to bring a set of profiles up to the current LFS CVS version of
> the book.
> 
> In the chapter6 installation of man, a couple of patches have been replaced
> with SEDs.
> 
> Can anybody explain why nALFS rejects the code for the execute command of
> the seds  ?
> 
> It appears nALFS does not like the param lines starting with the 's - it
> wants a ; at the end of the first one and complains about the last % in the
> second one.
> 
> Has anybody got some code that works for these SEDs ?
> 
> 
> >>>>>>>>>>>>
> 
> <execute command="sed">
> <param>-i </param>
> 
> <param>'s/-is/&R/' </param>
> 
> <param>configure</param>
> 
> </execute>
> 
> <execute command="sed">
> 
> <param>-i </param>
> 
> <param>'s%MANPATH./usr/man%#&%' </param>
 You should replace the & above with the XML equivalent & , the XML
parser is thinking your trying to specify an entity when you're not.
> 
> <param>src/man.conf.in </param>
> 
> </execute>
> 
> >>>>>>>>>>>>>
> 
> Thanks
> 
> Dave M
> 
> 
> 



More information about the alfs-discuss mailing list