Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm Sender: cygwin-apps-owner AT cygwin DOT com List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: "Joshua Daniel Franklin" , 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 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 From: "Joshua Daniel Franklin" To: "Michael A Chase" ; 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.