tchrist@convex.COM (Tom Christiansen) (02/05/91)
From the keyboard of bharat@computing-maths.cardiff.ac.uk (Bharat Mediratta): :>>I suspect that you really want to remove any character followed by :>>a control-H. This will also fix boldfacing done by overstriking. :> :>Save yourself the trouble. Some time ago, a program called ``pep'' was :>posted to one of the .sources groups (don't know which one). This program :>does a lot of things to ``clean'' text files, including taking out all of :>the boldfacing and underlining w/o hurting your real text. : :For Unix users out there, there is an easier way. There is a program called :'plain' that comes with most systems. Simply cat a file through it and :it removes the underscores for you. I find it effective, especially if you :don't want to worry about search/replace functions. This program is not :as flexible (no doubt) as 'pep' but it might be more universally available. Is there some reason why foo | sed 's/.^H//g' isn't good enough? --tom -- "Still waiting to read alt.fan.dan-bernstein using DBWM, Dan's own AI window manager, which argues with you 10 weeks before resizing your window." ### And now for the question of the month: How do you spell relief? Answer: U=brnstnd@kramden.acf.nyu.edu; echo "/From: $U/h:j" >>~/News/KILL; expire -f $U