Re: sed question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/1/17 Paul <paul@xxxxxxxxxxxxxxxxxxxxxx>
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!

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

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

--
Ignacio Vazquez-Abrams <ivazqueznet@xxxxxxxxx>
-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux