Quick sed question

Ignacio Vazquez-Abrams ivazqueznet at gmail.com
Wed Dec 3 00:21:06 UTC 2008


On Wed, 2008-12-03 at 00:11 +0000, Paul wrote:
> The reason I'm asking is that in order to get things to build with mono
> easier (and causing fewer upgrade hassles in trying to find *every* use
> of /usr/lib rather than %{_libdir}), I've started to use a find-all sed
> script. Unfortunately, on x86_64, this is giving me /usr/lib6464 and I'm
> wondering if the ,g has anything to do with the replication of the the
> 64 (I doubt it has).

's,lib\([^6]\|$\),lib64\1,g'

-- 
Ignacio Vazquez-Abrams <ivazqueznet at gmail.com>

PLEASE don't CC me; I'm already subscribed
-------------- 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/20081202/ee4180b1/attachment.sig>


More information about the fedora-devel-list mailing list