delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2002/04/13/16:12:11

Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs>
Mail-Followup-To: cygwin-apps AT cygwin DOT com
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
Message-ID: <008f01c1e327$4beb8340$d900a8c0@mchasecompaq>
From: "Michael A Chase" <mchase AT ix DOT netcom DOT com>
To: "Joshua Daniel Franklin" <joshuadfranklin AT yahoo DOT com>,
<cygwin-apps AT cygwin DOT com>
References: <20020413164851 DOT 78728 DOT qmail AT web20002 DOT mail DOT yahoo DOT com>
Subject: Re: cygwin-doc
Date: Sat, 13 Apr 2002 13:06:44 -0700
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

From: "Joshua Daniel Franklin" <joshuadfranklin AT yahoo DOT com>
To: "Michael A Chase" <mchase AT ix DOT netcom DOT com>; <cygwin-apps AT cygwin DOT com>
Sent: Saturday, April 13, 2002 09:48
Subject: Re: cygwin-doc


> Thanks, I fixed this. (Well, I fixed intro.1, which I assume you meant.)

It was.

Man puts a preprocessed copy of /usr/man/man1/*.1 pages in /usr/man/cat1/
when it displays them.  I had to delete cat1/intro.1.gz before man would
look at the version of intro.1 I copied from the source package into man1/.
Cygwin-doc may need to delete its files from cat1/ in its postinstall
script; man will update the cat1/ file automatically if the file in man1/ is
newer, but that may not be true if someone reads a manpage after cygwin-doc
is updated and before they install the new version.

# This should do what is necessary:
pkg=cygwin-doc
for i in $(gzip -dc < /etc/setup/$pkg.lst.gz | sed -ne
's,/man1/\(.*\.1$\),/cat1/\1.gz,p')
do
    if [ -f "/$i" ]; then
        rm -f /$i
    fi
done

Both gzip and sed are in the Base package, so they should be present.
--
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019