9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Boyd Roberts <boyd@strakt.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] text editor
Date: Fri, 26 Apr 2002 13:45:45 +0200	[thread overview]
Message-ID: <3CC93DE9.81C28B30@strakt.com> (raw)
In-Reply-To: <20020426113654.8D85D199EE@mail.cse.psu.edu>

rog@vitanuova.com wrote:
> i think sam -d is great.  it's an excellent complement to acme for
> those times when you want to make global changes to many files at once
> without seeing all of them.  i never use normal "downloaded" sam these
> days.

Oh, I meant interactively.  Obviously, sam is perfect for what you describe.

I think acme has some neat ideas -- I just can't use it [mindset problem].

ob sam -d:

# construct reply
(
        EDITOR='sam -d' rep -i > /dev/null 2>&1 <<'!'
/^To:.*\n(    .*\n)+/
x/\n    /c/ /
/^To:.*\n/
...t.
x/[\-a-zA-Z0-9._&]+@/c/postmaster@/
/^To:.*\n/
/^To:.*\n/
s/^To:/Cc:/
,x/^Cc: \n/d
,x/^Bcc: \n/d
,x/^Subject: \n/d
1,/^\n/
a
die, worthless spammer.

postmaster: check out the Mail Abuse Protection System (MAPS)
            http://maps.vix.com

...
1,/^$/p
w
q
!
) || exit 1


  reply	other threads:[~2002-04-26 11:45 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-26 11:39 rog
2002-04-26 11:45 ` Boyd Roberts [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-04-29  9:36 Andrew Simmons
2002-04-26 17:31 Russ Cox
2002-04-26 14:52 anothy
2002-04-26 16:59 ` peter huang
2002-04-26 14:10 Russ Cox
2002-04-26 10:27 ` Sam Hopkins
2002-04-29  9:40 ` Douglas A. Gwyn
2002-04-26 13:40 forsyth
2002-04-26 13:27 presotto
2002-04-26 12:46 bwc
2002-04-26 16:33 ` mcguire
2002-04-30  1:54   ` chad
2002-04-26 12:40 nigel
2002-04-26 11:41 forsyth
2002-04-26 10:45 nigel
2002-04-26 11:04 ` Alexander Viro
2002-04-26 10:22 nigel
2002-04-26 11:15 ` Boyd Roberts
2002-04-26 11:25   ` Boyd Roberts
2002-04-26 16:06   ` Ronald G Minnich
2002-04-26 10:11 rog
2002-04-26 23:30 ` Micah Stetson
2002-04-26  9:49 nigel
2002-04-26 10:21 ` Alexander Viro
2002-04-26 11:38   ` Michael Grunditz
2002-04-26 20:35   ` Dan Cross
2002-04-29  9:40     ` Douglas A. Gwyn
2002-04-29  9:36 ` Andrew Stitt
2002-04-29 15:58   ` Douglas A. Gwyn
2002-04-26  8:47 Andrew Stitt

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=3CC93DE9.81C28B30@strakt.com \
    --to=boyd@strakt.com \
    --cc=9fans@cse.psu.edu \
    /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).