From: | Donnie Berkholz <dberkholz@g.o> | ||
---|---|---|---|
To: | gentoo-dev@l.g.o | ||
Subject: | Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in media-tv/linuxtv-dvb-apps: ChangeLog linuxtv-dvb-apps-1.1.1.20070924.ebuild | ||
Date: | Wed, 26 Sep 2007 05:55:14 | ||
Message-Id: | 20070926054402.GE22279@supernova | ||
In Reply to: | Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in media-tv/linuxtv-dvb-apps: ChangeLog linuxtv-dvb-apps-1.1.1.20070924.ebuild by Stephen Bennett |
1 | On 00:02 Wed 26 Sep , Stephen Bennett wrote: |
2 | > On Tue, 25 Sep 2007 11:10:34 +0200 |
3 | > Robert Buchholz <rbu@g.o> wrote: |
4 | > |
5 | > > I already wondered a while back: |
6 | > > sed only fails if the file does not exist, but not if there was no |
7 | > > replacement. Is there any way to force it to? |
8 | > |
9 | > Off the top of my head... |
10 | > |
11 | > sed -e '1{x;s/^/0/;x;ta;:a}' |
12 | > -e 's/$STRING/$REPLACEMENT/' |
13 | > -e 'Tb;x;s/^/1/;x;:b;${p;x;/^0/Q1;Q0};' |
14 | |
15 | I spent a few minutes trying to decipher that without luck. Could you |
16 | walk me through it? |
17 | |
18 | Thanks, |
19 | Donnie |
20 | -- |
21 | gentoo-dev@g.o mailing list |
Subject | Author |
---|---|
Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in media-tv/linuxtv-dvb-apps: ChangeLog linuxtv-dvb-apps-1.1.1.20070924.ebuild | Mike Frysinger <vapier@g.o> |