Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) MIME-Version: 1.0 To: Herb Martin CC: cygwin AT cygwin DOT com Subject: Re: Another (differently) broken man on CygWin 1.5.8 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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/