From owner-freebsd-doc Wed Jul 10 18: 9: 1 2002 Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C828137B400 for ; Wed, 10 Jul 2002 18:08:58 -0700 (PDT) Received: from cfcl.com (cpe-24-221-169-54.ca.sprintbbd.net [24.221.169.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50D2843E52 for ; Wed, 10 Jul 2002 18:08:58 -0700 (PDT) (envelope-from rdm@cfcl.com) Received: from [192.168.254.205] (cerberus [192.168.254.205]) by cfcl.com (8.11.6/8.11.1) with ESMTP id g6B18Yh83533 for ; Wed, 10 Jul 2002 18:08:34 -0700 (PDT) (envelope-from rdm@cfcl.com) Mime-Version: 1.0 Message-Id: In-Reply-To: References: <200207022340.g62Ne4hw028766@freefall.freebsd.org> X-Mailer: Eudora for Macintosh! Date: Wed, 10 Jul 2002 18:08:52 -0700 To: freebsd-doc@FreeBSD.ORG From: Rich Morin Subject: Re: docs/39958: missing text on dig(1) man page Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org At 8:40 AM -0700 7/7/02, Rich Morin wrote: >It turns out that man was looking at "/usr/local/man/cat1/dig.1.gz", which >had the problem. Looks like I get to run a script to find all the local >man pages which have been supplanted by later versions (:-). In case anyone wants to look over their local man pages, here's a script: : # ckman - check man page dates rm -f /tmp/ckman.* for set in '1 6 8' '2 3'; do echo "Section set $set" for origin in local share; do for type in cat man; do for section in $set; do cd /usr/$origin/man/$type$section ls | sed 's@\..*@@' >> /tmp/ckman.$origin done done sort -u /tmp/ckman.$origin > /tmp/ckman.$origin.s done comm -12 /tmp/ckman.local.s /tmp/ckman.share.s | while read foo; do for origin in local share; do for type in cat man; do for section in $set; do for page in /usr/$origin/man/$type$section/$foo.*; do if [ -e $page ]; then ls -l $page fi done done done done echo '' done | awk '{ $1 = $2 = $3 = $4 = $5 = ""; print $0 }' echo '' done -- email: rdm@cfcl.com; phone: +1 650-873-7841 http://www.cfcl.com/rdm - my home page, resume, etc. http://www.cfcl.com/Meta - The FreeBSD Browser, Meta Project, etc. http://www.ptf.com/dossier - Prime Time Freeware's DOSSIER series http://www.ptf.com/tdc - Prime Time Freeware's Darwin Collection To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message