bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Improvement to hash


From: Roman Rakus
Subject: Re: Improvement to hash
Date: Thu, 13 Nov 2008 16:38:21 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080723)

Chet Ramey wrote:
Roman Rakus wrote:
I would like to ask, if is possible make a small improvement.
Look at https://bugzilla.redhat.com/show_bug.cgi?id=430179
Maybe it will be good to change hash automatically, if bash fails to
execute file. Something like:
1) execute file -> write in hash
2) remove file
3a) execute file -> find in hash -> not found -> remove from hash -> try
to execute once again
3b) execute file -> find in hash -> not found -> remove from hash ->
display error message like now, but if you execute once again, it will
run (if is anywhere in PATH).

This is what the `checkhash' shell option addresses.  Is there something
you'd like to see added to that?  (Keep in mind that you cannot add to
the hash only after a successful execution because those things are done
in different processes.)

Chet
It is right that what I missed. Thanks and forgive me. Nice day
RR




reply via email to

[Prev in Thread] Current Thread [Next in Thread]