Andrew Benton wrote: > On Sat, 03 Dec 2011 15:18:16 -0600 > Bruce Dubbs <[email protected]> wrote: > >> sed -i '/^EXTRALIBS/s# -ldl# -lfreetype -lz# >> /=imdi/aSHARE_EXPAT=1' Makefile >> >> I think the newline may confuse sed even though it is inside the single >> quotes. > > I've never known sed to be confused by newlines within quotes. It will > accept multiple commands separated by newlines or semicolons. > I suspect the user was confused because he didn't get the command > prompt back after he pressed return, a situation that would have also > occurred if the sed was written in your style. I've changed the sed so > it is all on one line now.
OK, I understand what you did. Although your command is correct, I will have to gently disagree with the presentation. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
