From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from relay2.UU.NET ([192.48.96.7]) by hawkwind.utcs.toronto.edu with SMTP id <24072>; Mon, 17 Jan 1994 05:07:30 -0500 Received: from spool.uu.net (via LOCALHOST) by relay2.UU.NET with SMTP (5.61/UUNET-internet-primary) id AAvzfk26339; Mon, 17 Jan 94 05:07:25 -0500 Received: from rexago8.UUCP by uucp1.uu.net with UUCP/RMAIL (queueing-rmail) id 004136.13461; Mon, 17 Jan 1994 00:41:36 EST Received: by summitis.com (smail2.5) id AA07089; 17 Jan 94 00:28:10 EST (Mon) Received: from beirnek by rserv1.YYY; Mon, 17 Jan 1994 00:25 EST Received: by beirnek (AIX 3.2/UCB 5.64/4.03) id AA18744; Fri, 14 Jan 1994 08:39:56 -0500 From: hc05%beirnek@uunet.UU.NET (Beirne Konarski) Message-Id: <9401141339.AA18744@beirnek> Subject: How do I reference carriage returns? To: sam-fans@hawkwind.utcs.toronto.edu (Sam mailing list) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Date: Mon, 17 Jan 1994 05:07:30 -0500 I am getting better at sam now and am using it daily, but I have come up with a simple problem I can't solve. I have a file with CR-NL at the the of each line and I want to remove the carriage returns. I of course know how to do it with a variety of other tools, including vi. I like working on files with sam, though. The problem is that I cannot select the carriage returns. The usual tricks like \r and \015 didn't give them to me. Is there a way to select them? Or am I supposed to pipe the file through tr, like in rc? Beirne -- ------------------------------------------------------------------------------- Beirne Konarski | Reading maketh a full man, conference a beirnek@summitis.com | ready man, and writing an exact man. "Untouched by Scandal" | -- Francis Bacon -------------------------------------------------------------------------------