On Fri, Mar 07, 2014 at 05:59:03PM -0600, Bruce Dubbs wrote: > Ken Moffat wrote: > > > I see that in a later mail you pointed to a patch. I _like_ patches > > (easy to see if they still apply - if in any doubt use 'git apply') > > but BLFS prefers to use simple things like sed, so I assume that > > specifying CFLAGS= will meet with more approval. > > We like sed because you can *see* what it changes without opening a > separate file. > > -- Bruce > In that you mean "you can see which file it changes", I cannot dispute it. Many of the seds over the years have also been very educational, e.g. using a specification before the sed to ensure that only one possible match is changed, and that is part of the book's purpose.
But some of those same seds are not obvious about exactly how the text is being changed. A patch with context always shows the exact change when you look at it, but for seds you may have to copy the file, apply the sed, and then diff the file against the vanilla copy before you can see the exact detail. ĸen -- das eine Mal als Tragödie, dieses Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
