Robert Connolly wrote these words on 07/15/06 09:14 CST:

> XCFLAGS = -g -O2
> 
> sed 's/^XCFLAGS =$/& -fomit-frame-pointer/' will change it into:
> 
> XCFLAGS = -g -O2 -fomit-frame-pointer

Not on my systems. That sed will not match the line!

'^XCFLAGS =$' does not equal 'XCFLAGS = -g -O2'

Those two lines don't match, so the sed won't do anything. What am
I missing here?

-- 
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]
09:26:00 up 8 days, 19:34, 1 user, load average: 0.03, 0.15, 0.13
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to