Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting rid of ^H in emacs

Status
Not open for further replies.

jvbpro

Programmer
May 27, 2002
9
CA
Hi all,
Does anyone know how to get rid of the ^H from a file. I get this when I open a certain txt file in Emacs.

Any help is appreciated.
Thank in advance.

jvb
 
^H = backspace = 0x08
Try :
sed 's/'`echo "\008"`'//g' file > newfile
;-)
Dickie Bird
db@dickiebird.freeserve.co.uk
 
<puzzled look> surely, the answer to any question that contains the words &quot;using emacs&quot; has *got* to be:

Easy -- use vi

<innocent smile> Mike
________________________________________________________________________________

&quot;Experience is the comb that Nature gives us, after we are bald.&quot;

Is that a haiku?
I never could get the hang
of writing those things.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top