delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/09/17:18:10

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Bernard A Badger" <bab AT vx DOT com>
To: "Daniel Giron" <random_dg AT hotmail DOT com>, <cygwin AT cygwin DOT com>
Subject: RE: multiple errors with man
Date: Tue, 9 Jul 2002 17:20:55 -0400
Message-ID: <INEKLKBFCDBPKMKAJLMDIEJKCFAA.bab@vx.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
In-reply-to: <F39WqbaS9JsSEvmXd7F000087c0@hotmail.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Importance: Normal

The /usr/man/cat1/*.gz files are "cached" versions of the /usr/man/man1/ files.
They print out faster, since the formatting has already been done.
They may be removed, and will be regenerated from the /usr/man/man1 files.

(Just to check that there aren't any non-matching files, do this:

To check that all /usr/man/cat1/*.gz files correspond to 
non-null /usr/man/man1 files:

cd /usr/man/cat1
for fi in *.gz
do 
[[ -s /usr/man/man1/${fi%.gz} ]] || ls -l /usr/man/man1/${fi%.*} $fi
done

)
If anything pops up, investigate it before removing.

Or you can remove all matching files with:
cd /usr/man/cat1
for fi in *.gz
do 
[[ -s /usr/man/man1/${fi%.gz} ]] && rm $fi
done

> -----Original Message-----
> From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com]On Behalf
> Of Daniel Giron
> Sent: Tuesday, July 09, 2002 11:35 AM
> To: cygwin AT cygwin DOT com
> Subject: multiple errors with man
> 
> 
> Hi,
> Someone has already mentioned funny characters in man on the mailing list, 
> and I encountered it as well. Example:
> 
> $ man sdiff
> 
> gzip: /usr/man/cat1/sdiff.1.gz: invalid compressed data--crc error
> 
> gzip: /usr/man/cat1/sdiff.1.gz: invalid compressed data--length error
> 
> Some man pages work flawlessly, some crap out with these messages and 
> others, and others work without errors, but they're unreadable as well. I've 
> been getting these errors under cmd.exe, sh and bash. Is there any 
> workaround or new feature that solves this, or do the man pages themselves 
> need fixing?
> 
> Thanks,
> 
> Daniel
> 
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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