-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 3/14/14, 6:14 PM, Eric Blake wrote:
> So the three ways to reset a hash without resorting to the non-portable > shopt are 'hash -r', 'PATH=$PATH', or causing lookup to fail - but bash > is not honoring the third way by default (I didn't test if bash in 'set > -o posix' behaves differently). You took the time to write all this and didn't spend the minute to test whether bash does this in posix mode? Yes, bash uses the same mechanism as `checkhash' in posix mode. Chet - -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlMkmxIACgkQu1hp8GTqdKuxrACffB3HT1PRZoyM+xMZ0qAHv/TO v1sAn1yBeGjJ5imIE6x6zKwqRI6alWyM =6AG1 -----END PGP SIGNATURE-----