From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Thu, 22 Apr 2010 22:23:16 +0200 Message-ID: From: Rudolf Sykora To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [9fans] sam language question Topicbox-Message-UUID: 0c67592c-ead6-11e9-9d60-3106f5b1d025 On 22 April 2010 21:28, yy wrote: > You would need to group your last commands (think carefuly about it): > > ,x/0.00/{+-i/\n/ > } > > but then you would have to type a bit more. I don't know how it could happen, by the problem I had with ,x/0.00/+-i/\n/ is that it should have been ,x/0\.00/+-i/\n/ Now it does the job. (i.e. just a missing \) Finally, to add just one line in case there are more '0.00's on a line: ,x g/0\.00/-a/\n/ is fine as well as ,x g/0\.00/+-i/\n/ Thanks and sorry for the noise. Ruda