[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Improvement to hash
From: |
Chet Ramey |
Subject: |
Re: Improvement to hash |
Date: |
Thu, 13 Nov 2008 09:50:13 -0500 |
User-agent: |
Thunderbird 2.0.0.17 (Macintosh/20080914) |
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
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/