This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: multiple errors with man


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@cygwin.com [mailto:cygwin-owner@cygwin.com]On Behalf
> Of Daniel Giron
> Sent: Tuesday, July 09, 2002 11:35 AM
> To: cygwin@cygwin.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]