www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
Message-ID: | <43007EC3.40005@byu.net> |
Date: | Mon, 15 Aug 2005 05:38:43 -0600 |
From: | Eric Blake <ebb9 AT byu DOT net> |
User-Agent: | Mozilla Thunderbird 1.0.2 (Windows/20050317) |
MIME-Version: | 1.0 |
To: | Herb Martin <HerbM AT learnquick DOT com> |
CC: | cygwin AT cygwin DOT com |
Subject: | Re: Another (differently) broken man on CygWin 1.5.8 |
References: | <EIL8XGD-0002Y8-NV AT mail2 DOT learnquick DOT com> |
In-Reply-To: | <EIL8XGD-0002Y8-NV@mail2.learnquick.com> |
X-IsSubscribed: | yes |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Herb Martin on 8/14/2005 10:22 PM: > > cygwin (like Linux apparently) keeps a database of > programs and so deleting an incorrect program > on the path may leave the OS complaining about > the missing item rather than using the now > available correct item EVEN THOUGH the correct > program is earlier in the path. In bash, "shopt -s checkhash" tells bash to recheck the PATH when a program disappears from its hashed location. "hash -p /usr/bin/man man" tells bash to remember that man should be /usr/bin/man, regardless of the path. And "hash -r man" removes the current hashing of man, making the next use of man do a PATH search. (Read up on 'man bash' for more.) - -- Life is short - so eat dessert first! Eric Blake ebb9 AT byu DOT net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDAH7C84KuGfSFAYARAl5vAJ9oyDe320K5pu/fnS+kEMroSSRnRACfaK7c aGmabgEpRWmmUikZung/kRw= =uK63 -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |