| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
| This probably means that you upgraded from Tiger, and so have uncompressed Tiger man pages obscuring the compressed Leopard ones, in this case an outdated /usr/share/man/man1/syslog.1 preventing you from seeing the current /usr/share/man/man1/syslog.1.gz. Here is how I fixed that: First, make a backup of your /usr/share/man hierarchy in case anything goes wrong. Then, as root: cd /usr/share/man/ find . -iname "*.gz" -type f -exec gunzip -v -f {} \; This uncompresses all the Leopard pages, replacing any outdated Tiger ones, and preserving timestamps. Still inside /usr/share/man/, find . -type f -exec gzip -v {} \; This recompresses all the Leopard manual pages, and compresses any non-obsoleted old pages which remain, again preserving timestamps. Unfortunately, this leads to a bunch of broken symbolic links which are pointing to the non-nonexistent uncompressed versions of a page. (You can see this by running /etc/periodic/weekly/320.whatis.) So a friend and I came up with the attached script, which adjusts all the symbolic link names and destinations to reflect the current, compressed situation. |
Attachment:
fix_man.sh
Description: Binary data
This repairs everything but one link, /usr/share/man/man1/pcast.1 which seems to represent an alternate, historical name for the podcast man page: [Alacrity:/usr/share/man] jim% file /usr/share/man/man1/pcast.1 /usr/share/man/man1/pcast.1: cannot open `/usr/share/man/man1/pcast.1' (/usr/share/man/man1/podcast.1) I manually replaced the broken man1/pcast.1 link with a working man1/pcast.1.gz link to point at the file /usr/share/man/man1/podcast.1.gz Anyway, hopefully a future Apple OS installer will get this right from the beginning. Now, when I "man syslog", I do see the "-C" flag documented. -Jim On Nov 21, 2007, at 09:13, Chip Griffin wrote:
|
_______________________________________________ Do not post admin requests to the list. They will be ignored. X11-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden This email sent to email@hidden
| References: | |
| >x11 logs? (From: stephanebrossier <email@hidden>) | |
| >Re: x11 logs? (From: Martin Costabel <email@hidden>) | |
| >Re: x11 logs? (From: "Nathaniel Gray" <email@hidden>) | |
| >Re: x11 logs? (From: Martin Costabel <email@hidden>) | |
| >Re: x11 logs? (From: Anton Rang <email@hidden>) | |
| >Re: x11 logs? (From: Chip Griffin <email@hidden>) | |
| >Re: x11 logs? (From: Chip Griffin <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.