Cleaning text files

I wish to clean a text file of the following characters

1/2, 1/4, o (degrees)

I cant display these characters. I have tried ALT+189 etc (my terminal emulator is set to ASCII). How do I display the above ? I am using HP UX 10.

What is your text editor? vi....emacs....??

I am using VI

As far as I know, ASCII doesn't support those characters - there's not much way around it...
man ascii for details...

You have need a different terminal / setting...
Check out PuTTY, if you're using Windows. It can do anything an xterm can do, and more... I'm using it right now on a Linux box, and I can see the � just fine:
echo -e "\274"

If your host OS doesn't have iso_8859_1 support (or compatible), you may be out of luck...

I am using VI

At the risk of being shot for saying this..... if all else fails you could export the file to a GUI text editor - or (shock horror) even into a word/notepad and strip them manually.

This is a definite last resort - just incase you have to make this happen and can't find other ways.

:frowning: