On Friday 01 October 2021 15:47:18 Greg Wooledge wrote: > On Fri, Oct 01, 2021 at 12:24:50PM -0400, Gene Heskett wrote: > > With the man markup subtracted, so what we save is exactly what we > > see. > > If you want to reproduce what you see when you type "man bash" (just > as an example), you would need to *retain* the "man markup", not > subtract it. So, right off the bat, the question is confusing me. > > What is it you're actually trying to do here? Do you want to store > Debian's man pages in files, move them to another platform (say, > Microsoft Windows) and view them there? > > If you're not moving the files across systems, then I don't see the > point. If you want to see the same result again, just run "man bash" > again. Yes? The man page isn't going anywhere. > I'm tryting to configure the .hal file in linuxcnc, so loading the uncompressed file into geany and printing it, prints all the markup too, and any of that in a .hal file is a showstopper syntax error. I need to type it into the .hal file exactly as I see it onscreen.
I thought I was doing that, Greg, when I said I wanted a file identical to what I see on screen when man has processed the manfile to show the onscrren text. Processing removes around 600 bytes. Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene>