From: Skip Tavakkolian <9nut@9netics.com>
To: 9fans@9fans.net
Subject: Re: [9fans] acme/sam linewrapping off
Date: Tue, 25 Mar 2008 11:04:58 -0700 [thread overview]
Message-ID: <cd6a2bbe6beee5efa612af4740000db1@9netics.com> (raw)
In-Reply-To: <13426df10803250951m6753cbd0xd86f6c340200b1be@mail.gmail.com>
have you considered using sam to break each line into multiple lines
and then rejoining. e.g. if you have a | separated record structure, you
could do something like:
,x/^.*\n/ {
s/\|/\n/g
s/\n/\n\n/
}
edit the fields, then rejoin before writing it back:
,y/\n\n/ x/\n/ c/|/
,x/\n\n/ c/\n/
fyi, i'm a casual sam user and there are probably better ways.
next prev parent reply other threads:[~2008-03-25 18:04 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-23 13:22 Rudolf Sykora
2008-03-23 16:18 ` erik quanstrom
2008-03-23 17:05 ` Rudolf Sykora
2008-03-23 17:10 ` erik quanstrom
2008-03-23 18:04 ` Rudolf Sykora
2008-03-23 18:14 ` Rudolf Sykora
2008-03-24 5:38 ` Micah Stetson
2008-03-24 9:22 ` Robert Raschke
2008-03-25 7:33 ` Rudolf Sykora
2008-03-25 9:07 ` Hongzheng Wang
2008-03-25 9:39 ` Rudolf Sykora
2008-03-25 10:01 ` Charles Forsyth
2008-03-25 14:25 ` Rudolf Sykora
2008-03-25 14:41 ` erik quanstrom
2008-03-25 16:28 ` Rudolf Sykora
2008-03-25 16:51 ` ron minnich
2008-03-25 18:04 ` Skip Tavakkolian [this message]
2008-03-25 15:16 gdiaz
2008-03-25 16:30 ` 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=cd6a2bbe6beee5efa612af4740000db1@9netics.com \
--to=9nut@9netics.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).