9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Rudolf Sykora <rudolf.sykora@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: [9fans] sam language question
Date: Thu, 22 Apr 2010 19:32:02 +0200	[thread overview]
Message-ID: <i2ya560a5d01004221032ld264a5c2v651f6640a81bb73f@mail.gmail.com> (raw)

Hello,

I have a file in which I wanted to insert an empty line just before
any line on which a string, say '0.00' is present.

My attempts to do it this way:
,x/0.00/+-i/\n/
or similarly were not succesful.

I am not sure where the problem is exactly. (Only have some feeling
about it, but couldn't find anything authorative...)

Can somebody help?

Thanks
Ruda



             reply	other threads:[~2010-04-22 17:32 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-22 17:32 Rudolf Sykora [this message]
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
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=i2ya560a5d01004221032ld264a5c2v651f6640a81bb73f@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).