From owner-freebsd-questions@FreeBSD.ORG Sat Mar 26 04:56:43 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2EBE106566C for ; Sat, 26 Mar 2011 04:56:43 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 72C348FC16 for ; Sat, 26 Mar 2011 04:56:43 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id E90EAE807EA; Fri, 25 Mar 2011 21:56:41 -0700 (PDT) Date: Fri, 25 Mar 2011 21:56:41 -0700 From: Gary Kline To: Polytropon Message-ID: <20110326045641.GA31925@thought.org> References: <20110324230049.GB31958@thought.org> <89898D0E-B4A9-41E9-B829-DF7CA8D3FF06@d3photography.com> <20110325053630.GA6722@thought.org> <20110325164445.GA16901@thought.org> <20110325235341.GA26039@thought.org> <4D8D3D68.2010507@pchotshots.com> <20110326023009.251596d4.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110326023009.251596d4.freebsd@edvax.de> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24++ years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Brad Mettee , FreeBSD Mailing List Subject: Re: why does this simple counter fail? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Mar 2011 04:56:43 -0000 On Sat, Mar 26, 2011 at 02:30:09AM +0100, Polytropon wrote: > On Fri, 25 Mar 2011 21:12:08 -0400, Brad Mettee wrote: > > Gary Kline wrote: > > > I'M trying to decide whether to tatoo this on my forehead or > > > just make a note in my ~/.notes file for the next time this > > > breaks. if/when. Meanwhile, the best thingt to do would simply > > > write a script to turn > > get into things like > > > > If you do the > Otherwise you'll likely corrupt already good tags. > well, i have a C skeleton that i could modify, but yours below looks vastly simpler. how would i use sed to run this against? > With 's/<\?$/<\?php/g' and sufficient quoting, > maybe removing extra spaces, it should be fine. :-) > ha! doubt if i hv any spaces after > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.98a release of Jottings: http://jottings.thought.org