Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!crdgw1!uunet!mcsun!ukc!stl!robobar!ronald From: ronald@robobar.co.uk (Ronald S H Khoo) Newsgroups: comp.unix.questions Subject: Re: printing out manual pages Message-ID: <1991Apr30.085713.9740@robobar.co.uk> Date: 30 Apr 91 08:57:13 GMT References: <1991Apr28.232157.24943@agate.berkeley.edu> <16958@chaph.usc.edu> <1991Apr29.133357.14019@mp.cs.niu.edu> Organization: Robobar Ltd., Perivale, Middx., ENGLAND. Lines: 18 rickert@mp.cs.niu.edu (Neil Rickert) writes: > >man foo | sed -e 's/_^H//g' -e 's/^[.//g' > > I usually just use: > man foo | ul -tdumb > file > > If you have 'ul', and if the 'dumb' terminal type is defined in your > termcap or equivalent database as a totally dumb terminal, that should > format it without fancy control characters. How peculiar. I just tried that, and the ul that I have (the same as the one under bsd-sources on uunet, I think) converts the .^H into carriage return followed by the line to overstrike it with to get the same effect. Probably not what the original poster wanted, but useful nonetheless :-) -- Ronald Khoo +44 81 991 1142 (O) +44 71 229 7741 (H)