sam-fans - fans of the sam editor
 help / color / mirror / Atom feed
From: noel@es.su.oz.au
To: arnold@cc.gatech.edu (Arnold Robbins),
	sam-fans@hawkwind.utcs.toronto.edu
Subject: Re: saved replacement texts?
Date: Mon, 23 Nov 1992 16:53:48 -0500	[thread overview]
Message-ID: <199211232153.24350.out.babuv@es.su.oz.au> (raw)
In-Reply-To: <9211232151.AA04194@penfold.cc.gatech.edu>

    From:	arnold@cc.gatech.edu (Arnold Robbins)
    Subject: saved replacement texts?

    System V versions of ed have a saved replacement text, so that one
    can do the following:

    	/foo/s//bar/
    	//s//%/		or in vi:    ://s

    Where the `%' means the last replacement text I used.  Vi uses the `~' for
    this purpose.  Is there anything analogous in sam for either the c or s
    commands?

    Is there a reason (other than minimalism for the sake of minimalism) that
    there shouldn't be such a thing?  Am I missing something obvious, or even
    something subtle that's not apparent from the command language tutorial?

    Thanks,

    Arnold

use the mouse; in the case above, select and send in the command window.
is this difficult?


  reply	other threads:[~1992-11-23 21:56 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-11-23 21:51 Arnold Robbins
1992-11-23 21:53 ` noel [this message]
1992-11-23 22:03 Byron Rakitzis
1992-11-24  0:16 ` Scott Schwartz
1992-11-24  2:02 ` noel
1992-11-24  2:11   ` Chris Siebenmann
1992-11-24  2:41     ` Jeremy Fitzhardinge
1992-11-24  2:46       ` Scott Schwartz
1992-11-24  2:41     ` Scott Schwartz
1992-11-24  2:47       ` John Mackin
1992-11-24  3:10         ` Scott Schwartz
1992-11-23 23:31 Arnold Robbins
1992-11-24  3:05 Byron Rakitzis
1992-11-24  3:19 Byron Rakitzis
1992-11-24  4:02 ` John Mackin
1992-11-24  5:18 Byron Rakitzis

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=199211232153.24350.out.babuv@es.su.oz.au \
    --to=noel@es.su.oz.au \
    --cc=arnold@cc.gatech.edu \
    --cc=sam-fans@hawkwind.utcs.toronto.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).