This is the mail archive of the cygwin 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: Another (differently) broken man on CygWin 1.5.8


-----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@byu.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/


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