> Timo Kamph wrote:
>> the sed command to add -pie -fpie to Ncurses:
>> 
>> sed -e 's/^CFLAGS .*$/& -pie -fpie/' -i {progs,tack}/Makefile.in
>> 
>> does not work for me. Both files are unchanged after executing it.
>
>Ok, I figured it out, it's a tab character after CFLAGS.
>Maybe the command should be changed to make that clear:
>
>sed -e 's/^CFLAGS\t.*$/& -pie -fpie/' -i {progs,tack}/Makefile.in
>
>'\t' is supported in all newer versions of sed. Or there should be a 
>note in the text telling everybody that it's a tab and not a simple space.

Thanks
-- 
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to