May 28, 2002 #1 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
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
May 29, 2002 #2 dickiebird Programmer Feb 14, 2002 758 GB ^H = backspace = 0x08 Try : sed 's/'`echo "\008"`'//g' file > newfile ;-) Dickie Bird db@dickiebird.freeserve.co.uk Upvote 0 Downvote
^H = backspace = 0x08 Try : sed 's/'`echo "\008"`'//g' file > newfile ;-) Dickie Bird db@dickiebird.freeserve.co.uk
May 29, 2002 #3 MikeLacey MIS Nov 9, 1998 13,212 GB <puzzled look> surely, the answer to any question that contains the words "using emacs" has *got* to be: Easy -- use vi <innocent smile> Mike ________________________________________________________________________________ "Experience is the comb that Nature gives us, after we are bald." Is that a haiku? I never could get the hang of writing those things. Upvote 0 Downvote
<puzzled look> surely, the answer to any question that contains the words "using emacs" has *got* to be: Easy -- use vi <innocent smile> Mike ________________________________________________________________________________ "Experience is the comb that Nature gives us, after we are bald." Is that a haiku? I never could get the hang of writing those things.