🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #1248

How to strip edit characters

#1248
From: 4680
Date: Thu, 27 Sep 1990 02:49
18 lines
1105 bytes
Occasionally I receive mail from others which contains editing
characters such as backspace(^H).  When this text is printed to the
screen it appears fine, but when I try to edit it, I see all the edit
characters like sew^H^Ho (instead of "so").

Is there a "shell" way to remove the backspace characters, yet retain
the text in its final form?

One method I have successfully used on a graphics terminal is to cat
the file to the screen, and then use copy/paste from a window manager
to paste the final text into a new file.  This is ok, but I don't
always have access to a graphics workstation.

Any solutions?

-- 
Eric Magnusson
ejmag@aplcen.apl.jhu.edu
Technical Details
Message-ID: <6665@aplcen.apl.jhu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!ejmag

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!ejmag
From: ejmag@aplcen.apl.jhu.edu (4680)
Newsgroups: comp.unix.shell
Subject: How to strip edit characters
Message-ID: <6665@aplcen.apl.jhu.edu>
Date: 27 Sep 90 02:49:13 GMT
Reply-To: ejmag@aplcen (Magnusson Eric 859-4680)
Distribution: na
Organization: Johns Hopkins University
Lines: 18