manual pages ???

Joseph S D Yao jsdy at cospo.osis.gov
Tue Feb 20 21:54:20 UTC 2001


On Tue, Feb 20, 2001 at 12:16:37PM -0600, Ramón Alvarez Rayo wrote:
> i have a box with solaris 2.6/sparc, bind-8.2.3 but i have problems with 
> the manual pages, my question is:
> 
> do i have install manual pages at the same time that bind? or can i install 
> the manual pages  like the bind software ?? (compiled)

The manual entries [when was the last time you saw one that was only a
page long?] come in NROFF format [see the archives].  In BIND 8.2.3,
they are also there in pre-compiled format.  You can just copy them
into your /usr/man/cat? directories.  For example,

	cd .../bind-8.2.3/doc/man
	for i in *.lst[0-9]; do
		N=`echo "$i" | sed 's;^.*\.lst\([0-9]\);\1;'`
		target=`echo "$i" | sed 's;^\(.*\.\)lst\([0-9]\);\1\2;'`
		if [ ! -d /usr/man/cat"$N" ]; then
			mkdir /usr/man/cat"$N"
			if [ "0" != "$?" -o ! -d /usr/man/cat"$N" ]; then
				echo "Couldn't create /usr/man/cat$N"
				continue
			fi
		fi
		cp "$i" /usr/man/cat"$N"/"$target"
	done

-- 
Joe Yao				jsdy at cospo.osis.gov - Joseph S. D. Yao
COSPO/OSIS Computer Support					EMT-B
-----------------------------------------------------------------------
This message is not an official statement of COSPO policies.


More information about the bind-users mailing list