On 22 April 2010 21:28, yy <yiyu....@gmail.com> 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

Reply via email to