On Fri, Oct 12, 2001 at 10:43:29AM -0700, Bob Miller wrote:
> Jacob Meuser wrote:
> 
> FYI, I ran CVSup last night at mro's house over his cable modem.  I
> got the whole repository, OpenBSD-all, in a little under two hours.
> 
Did you pull the whole repo or just a checkout?  There's a big difference.

> Now I just need to figure out why I can't do "make build".
> 
Could be any number of things.  Have you looked at release(8)?

> The primary reason I'm going through all this pain is that I'm trying
> to get Postscript versions of the man pages so I can print the ones I
> need to study.  Maybe I should ask, "What's the easiest way to get a
> copy of all the OpenBSD man pages in Postscript?"

files are in /usr/share/man/cat?
% groff -mdoc $manpage > $manpage.ps

perhaps ...

#!/bin/sh
cd /usr/share/man
files=$(find cat? -type f)
for i in $files; do
        groff -mdoc $i > /my/ps/path/${i}.ps
done

There may be something easier, I don't know, I haven't printed many manpages.
Also note the above is broken unless you set up the directory structure
of /my/ps/path first.  (cat1, cat2, etc)
There's also /usr/share/man/ps?, which is empty (maybe there's a premade
script somewhere to fill this, perhaps in /usr/src/share/man/Makefile?)
but could serve as the holding spot with a little more scripting. 

-- 
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>

Reply via email to