Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jul 2002 18:08:52 -0700
From:      Rich Morin <rdm@cfcl.com>
To:        freebsd-doc@FreeBSD.ORG
Subject:   Re: docs/39958: missing text on dig(1) man page
Message-ID:  <p05111b0bb9528a9a50ad@[192.168.254.205]>
In-Reply-To: <p05111b12b94e0d430ab2@[192.168.254.205]>
References:  <200207022340.g62Ne4hw028766@freefall.freebsd.org> <p05111b12b94e0d430ab2@[192.168.254.205]>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p05111b0bb9528a9a50ad>