Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jun 2007 00:42:10 +0200
From:      Pav Lucistnik <pav@FreeBSD.org>
To:        Alexey Dokuchaev <danfe@FreeBSD.org>
Cc:        cvs-ports@FreeBSD.org, infofarmer@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/graphics/sng Makefile pkg-descr
Message-ID:  <1181947330.52923.4.camel@ikaros.oook.cz>
In-Reply-To: <20070615183958.GA1681@FreeBSD.org>
References:  <200706151800.l5FI0BZD087745@repoman.freebsd.org> <20070615180818.EEBAE16A484@hub.freebsd.org> <cb5206420706151130v7a5e687g31cfeac49f2ca1ab@mail.gmail.com> <20070615183958.GA1681@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Alexey Dokuchaev píše v pá 15. 06. 2007 v 18:39 +0000:

> > In this very case, it use this:
> > '/^static png_/s|^static ||'
> 
> I'd buy your reasoning here.  It's just that I love sed(1)+conciseness too
> freaking much :-) and want to avoid adding trivial patch files.
> 
> I'll try to think more about my regexps next time, thanks!

If you want to show off your l33t sed skillz, you can do something like

'/^static/ s/png_//'

-- 
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

May your arrow always find its mark.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQBGcxW+ntdYP8FOsoIRAninAJ9t9FkZf1qWcHty0e5YLw4prTiRfgCeIPbm
RoylMVc1mRxUzCDz4fv97Jo=
=GEnM
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1181947330.52923.4.camel>