From: Fergus James HENDERSON (fjh@munta.cs.mu.OZ.AU)
Date: 05/31/93


From: fjh@munta.cs.mu.OZ.AU (Fergus James HENDERSON)
Subject: Re: annoying bash quirk
Date: Mon, 31 May 1993 19:52:24 GMT

bsa@kf8nh.wariat.org (Brandon S. Allbery) writes:

>jhenders@jonh.wimsey.bc.ca (John Henders) writes:
>> On a similar topic, I guess there's no way to search a man page
>>for text that's highlighted or bolded as the charater codes seen to
>>interfere.
>
>Pipe through "col -b" to remove the backspace sequences. You probably need to
>install groff first.

Or, if you can't be bothered installing groff, pipe through
        sed 's/.^H//g'
(the ^H needs to be an actual backspace character, so you need to
type something like control-V control-H in bash or vi.)

(But as I said in another article on this thread, if you have 'less' then
you don't either col/groff or sed, just use the -i option.)

-- 
Fergus Henderson                     This .signature virus might be
fjh@munta.cs.mu.OZ.AU                getting old, but you still can't
                                     consistently believe it unless you
Linux: Choice of a GNU Generation    copy it to your own .signature file!