Alex Merry wrote these words on 07/15/06 12:59 CST: > It will not for example, match > XCFLAGS = -g -O2 > The reason is obvious: there is no end-of-line after the =, which is > what $ matches.
Exactly what I've been trying to get across to Robert, but every time I've provided an example 'sed' to show him, he comes back with some 'grep' command that works for him. But the whole issue I thought was changing the 'sed'. So, I'm with Bruce on this one. If Robert's change is only useful for folks that have added their own modifications to Makefiles, then it shouldn't go in the book. If someone is savvy enough to modify Makefiles, they should be savvy enough to recognize a sed that won't work with their modification. -- Randy rmlscsi: [bogomips 1003.23] [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] 13:27:00 up 8 days, 23:35, 1 user, load average: 0.09, 0.06, 0.01 -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page