From mboxrd@z Thu Jan 1 00:00:00 1970 From: dexen deVries To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Date: Fri, 11 Jan 2013 13:27:30 +0100 Message-ID: <2206857.vaJMmS5UaY@coil> User-Agent: KMail/4.9.4 (Linux/3.7.0-l47; KDE/4.9.4; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Subject: Re: [9fans] How to do this with [acme | sam | sed ] ? Topicbox-Message-UUID: 05e0c37a-ead8-11e9-9d60-3106f5b1d025 On Friday 11 of January 2013 13:24:12 Peter A. Cejchan wrote: > I am now on p9p and this does not work - at least with (... )* >=20 > > using the \1 (used to be undocumented on plan9) may be sometimes ea= sier > > Edit s/\+\+([A-Za-z]+[A-Za-z0-9])*/\1++/> oughta be=20 Edit s/\+\+([A-Za-z]+[A-Za-z0-9]*)/\1++/ the * moves to the left. also, probably oughta be Edit ,s/....../g to work on all lines, and change multiple matches in one go. --=20 dexen deVries [[[=E2=86=93][=E2=86=92]]] Reality is just a convenient measure of complexity. -- Alvy Ray Smith