bug-bash
[Top][All Lists]
Advanced

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

Improvement to hash


From: Roman Rakus
Subject: Improvement to hash
Date: Thu, 13 Nov 2008 15:34:35 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080723)

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).

What do you think about this?


RR




reply via email to

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