[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

fixing .txt files sent from a MS$ user



Hello all,

My niece sends some of her schoolwork to my wife (e.g. essays) for her
to read.  First she sent .doc files which I can't access properly (no, I
do no run OO) although I could get the jist.  I then suggested that she
send plain text.

I don't run any locales but have LANG=C.

Her plain-text files are fine, except that apostrophies (singel-quote)
(') are replaced with "\222", opening quotes (") with "\223", and
closing quotes (") with "\224".

Other than writing a python script, can someone give me a simple command
to fix this so that it is not so distracting?  Ideally, I'd put it into
an executable file and pipe the file through it on it's way to lpr.

e.g. 
$ cool-writing.txt | antiAJ | lpr -Pepson

Thanks,

Doug.


Reply to: