sam-fans - fans of the sam editor
 help / color / mirror / Atom feed
From: hc05%beirnek@uunet.UU.NET (Beirne Konarski)
To: sam-fans@hawkwind.utcs.toronto.edu (Sam mailing list)
Subject: How do I reference carriage returns?
Date: Mon, 17 Jan 1994 05:07:30 -0500	[thread overview]
Message-ID: <9401141339.AA18744@beirnek> (raw)

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
-------------------------------------------------------------------------------



             reply	other threads:[~1994-01-17 10:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-01-17 10:07 Beirne Konarski [this message]
1994-01-17 10:26 ` John Mackin
1994-01-17 16:54   ` Castor Fu
1994-01-18  2:47 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=9401141339.AA18744@beirnek \
    --to=hc05%beirnek@uunet.uu.net \
    --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).