From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from quux.es.su.oz.au ([129.78.145.8]) by hawkwind.utcs.toronto.edu with SMTP id <2802>; Mon, 23 Nov 1992 16:56:58 -0500 Received: by quux.es.su.oz.au id <14648>; Tue, 24 Nov 1992 08:56:31 +1100 From: noel@es.su.oz.au Date: Mon, 23 Nov 1992 16:53:48 -0500 to: arnold@cc.gatech.edu (Arnold Robbins), sam-fans@hawkwind.utcs.toronto.edu Subject: Re: saved replacement texts? In-Reply-To: <9211232151.AA04194@penfold.cc.gatech.edu> Message-ID: <199211232153.24350.out.babuv@es.su.oz.au> 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?