From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8c9b,54bbee37062428c0 X-Google-Attributes: gidf8c9b,public X-Google-Thread: f72b0,54bbee37062428c0 X-Google-Attributes: gidf72b0,public X-Google-Thread: fee84,54bbee37062428c0 X-Google-Attributes: gidfee84,public X-Google-Thread: 10bba1,54bbee37062428c0 X-Google-Attributes: gid10bba1,public X-Google-ArrivalTime: 1994-09-26 11:32:24 PST Newsgroups: comp.unix.osf.osf1,comp.unix.misc,comp.unix.questions,comp.text Path: bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!news.kei.com!MathWorks.Com!zombie.ncsc.mil!gmi!msuinfo!uchinews!ellis!pynq From: pynq@ellis.uchicago.edu (Jeremy Mathers) Subject: Re: [Q] Writing Manual Pages (cut out 'n' keep!) Message-ID: <1994Sep26.181554.6900@midway.uchicago.edu> Summary: Problems, problems... Sender: news@uchinews.uchicago.edu (News System) Reply-To: pynq@midway.uchicago.edu Organization: D. J. Dougherty & Associates References: <779044213snz@spclmway.demon.co.uk> <359cpt$beo@granuaile.IEunet.ie> Date: Mon, 26 Sep 1994 18:15:54 GMT Xref: bga.com comp.unix.osf.osf1:3708 comp.unix.misc:4064 comp.unix.questions:13860 comp.text:1173 In article <359cpt$beo@granuaile.IEunet.ie> jmason@iona.ie (Justin Mason) writes: >geo@spclmway.demon.co.uk (Gareth Owen) writes: > >>I have a need for some users who are not experienced in *roff/ms/man and >>a) don't have time to learn it well to which Justin replied: >Yup, I do -- picked it up off alt.sources ages ago. It was originally >designed to be used as a comment->manpage translator, but I may have >hacked it slightly so it can work as a plaintext->manpage xlator. >Here's the command to use it: > >cmt2doc -O 'Your Organisation' -C '' -pm file.txt > file.1 Hmmm. I can't seem to get your file to do anything useful. I did: man cat | col -b > cat.man to create a pure ASCII version of the cat man page. Now, my understanding is that your perl script will convert that back into nroff source. Is this correct? When I do: perl cmt2doc.pl -O 'Your Organisation' -C '' -pm cat.man I get no output - nada - zip. (And no files are created or deleted) Further, when I do: perl cmt2doc.pl -p cmt2doc.pl | more as is suggested in the leading commentary in the perl source itself, I get back exactly the contents of the input - that is, nothing is added. Please advise. ************************************************************************ Our buggy newsreader limits the length of .signature files to 4 lines, but I have figured out a way to have as many lines as - pynq@quads.uchicago.edu, who is still costing the net hundreds, if not thousands, of dollars, every time he posts - ************************************************************************ rwvpf wpnrrj ibf ijrfer