From: Rudolf Sykora <rudolf.sykora@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] sam language question
Date: Thu, 22 Apr 2010 22:23:16 +0200 [thread overview]
Message-ID: <h2xa560a5d01004221323lf6a00a24i154c91d6cba0ac0@mail.gmail.com> (raw)
In-Reply-To: <l2ra81fe9be1004221228ga79da752od5ae52f2396ef001@mail.gmail.com>
On 22 April 2010 21:28, yy <yiyu.jgl@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
next prev parent reply other threads:[~2010-04-22 20:23 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-22 17:32 Rudolf Sykora
2010-04-22 17:55 ` [9fans] corrupted update on 9vx EBo
2010-04-22 18:44 ` Steve Simon
2010-04-22 18:53 ` erik quanstrom
2010-04-24 0:01 ` EBo
2010-04-22 18:21 ` [9fans] sam language question Rob Pike
2010-04-22 18:30 ` Rudolf Sykora
2010-04-22 18:24 ` yy
2010-04-22 18:32 ` Rudolf Sykora
2010-04-22 19:28 ` yy
2010-04-22 20:23 ` Rudolf Sykora [this message]
2010-04-22 22:04 ` roger peppe
2010-04-23 7:22 ` Rudolf Sykora
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=h2xa560a5d01004221323lf6a00a24i154c91d6cba0ac0@mail.gmail.com \
--to=rudolf.sykora@gmail.com \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).