[Top][All Lists]

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

Re: Are these bash.v.posix diffs still useful? They _seem_ dated...

From: L A Walsh
Subject: Re: Are these bash.v.posix diffs still useful? They _seem_ dated...
Date: Sun, 31 Jan 2021 22:39:05 -0800
User-agent: Thunderbird (Windows/20100228)

On 2021/01/31 10:54, Chet Ramey wrote:
On 1/30/21 6:50 PM, L A Walsh wrote:
First behavior: How is it beneficial for bash to
store a non-executable in the command-hash?

Probably not very, but it's not all that harmful. The `checkhash' option 
overrides this.
   Does checkhash do anything other than correct these two
cases where bash doesn't auto-correct an invalid entry in
the hash of commands?

   Perhaps checkhash is no longer necessary either if bash
removes the older functionality.

   Didn't think it was harmful other than being an opportunity
to clean up something no longer needed.  I believe one of the
problems you listed with bash is that it was too big & slow.
Surely eliminating unused/unneeded quirks would be a,
albeit small, step in addressing that.

   Or are you arguing to keep cruft and unnecessary complexity
where possible? ;^)

reply via email to

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