man pages screwed

Jack Bryans jbryans at csulb.edu
Tue Apr 17 09:22:35 EST 2001


mouring at etoh.eviladmin.org writes:

> nroff -mdoc returns '2' on {NeXT,Open}Step.

Depends if it's got the doc macros installed.  System w/'em:

henson:/usr/local/man/man1 53$ if nroff -mdoc ssh.1 >/dev/null 2>&1; then echo true;fi
true
henson:/usr/local/man/man1 54$ 

System w/o 'em:

set:/usr/local/man/man1 53$ if nroff -mdoc ssh.1 >/dev/null 2>&1; then echo true;fi
set:/usr/local/man/man1 54$ 

So, the test in the script's OK for NeXT -- better than making an assumption
based on OS.

Jack



More information about the openssh-unix-dev mailing list