From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gatech.edu ([128.61.1.1]) by hawkwind.utcs.toronto.edu with SMTP id <2802>; Mon, 23 Nov 1992 16:52:06 -0500 Received: from burdell.cc.gatech.edu by gatech.edu (4.1/Gatech-9.1) id AA19320 for sam-fans@hawkwind.utcs.toronto.edu; Mon, 23 Nov 92 16:51:45 EST Received: from penfold.cc.gatech.edu by burdell.cc.gatech.edu (4.1/SMI-4.1) id AA25672; for sam-fans@hawkwind.utcs.toronto.edu; Mon, 23 Nov 92 16:51:42 EST Received: by penfold.cc.gatech.edu (4.1/SMI-4.1) id AA04194; Mon, 23 Nov 92 16:51:16 EST From: arnold@cc.gatech.edu (Arnold Robbins) Message-Id: <9211232151.AA04194@penfold.cc.gatech.edu> Date: Mon, 23 Nov 1992 16:51:15 -0500 X-Ultrix: Just Say NO! X-Important-Saying: Premature Optimization Is The Root Of All Evil. X-Mailer: Mail User's Shell (7.2.3 5/22/91) To: sam-fans@hawkwind.utcs.toronto.edu 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