sed question

Paul paul at all-the-johnsons.co.uk
Sun Jan 18 00:35:19 UTC 2009


Hi,

mono-debugger has a line in the configure.in with $(prefix)/lib on it
twice.

If I have

sed -i -e 's!$(prefix)/lib!%{_libdir}!' configure.in

then only the first occurrence of the $(prefix)/lib is replaced (same
applies if I create a patch with @libdir@ instead of the $(prefix)/lib
and then apply a similar sed replacement to the patch)

I've looked at the manual and this seems to be correct, but it's not (as
it's not working!). Any clues on how to do a multiple replace on the
same line?

TTFN

Paul
-- 
Sie können mich aufreizen und wirklich heiß machen!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20090118/d467d67e/attachment.sig>


More information about the fedora-devel-list mailing list