Re: Feature Request: Add option to make completed values always become properly escaped

2022-03-09 Thread konsolebox
On Mon, Mar 7, 2022, 23:16 Chet Ramey, wrote: > On 2/26/22 2:01 PM, konsolebox wrote: > > > I think an option like 'escape' that simply escapes COMPREPLY > > values when used for completion and doesn't compare it to existing > > filesystem objects will be better. > > OK. I'll consider something l

Re: 'hash foo' may fail, and would require something like 'hash /usr/bin/foo'

2022-03-09 Thread Andreas Schwab
On Mär 09 2022, Chet Ramey wrote: > Ultimately, this comes down to gaps in the release engineering. That won't help, the container image often comes from a different source than the docker package. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF7

Re: 'hash foo' may fail, and would require something like 'hash /usr/bin/foo'

2022-03-09 Thread Chet Ramey
On 3/9/22 12:25 PM, Andreas Schwab wrote: > On Mär 09 2022, Chet Ramey wrote: > >> Basically, musl libc enabled the faccessat2(2) system call and started >> using it in faccessat(2). access(2) ends up calling faccessat, which now >> uses faccessat2 if it's available. Alpine Linux 3.14 incorrectly

Re: 'hash foo' may fail, and would require something like 'hash /usr/bin/foo'

2022-03-09 Thread Andreas Schwab
On Mär 09 2022, Chet Ramey wrote: > Basically, musl libc enabled the faccessat2(2) system call and started > using it in faccessat(2). access(2) ends up calling faccessat, which now > uses faccessat2 if it's available. Alpine Linux 3.14 incorrectly returned > EPERM for unknown system calls instead

Re: 'hash foo' may fail, and would require something like 'hash /usr/bin/foo'

2022-03-09 Thread Chet Ramey
On 2/22/22 10:10 AM, Benoit Lacelle wrote: > Bash Version: 5.1 > Patch Level: 16 > Release Status: relase > Bash version: 5.1.16(1)-release (x86_64-alpine-linux-musl) > > Description: > Issue discussed at https://github.com/disney/meteor-base/pull/102 > Supposedly related with Bash5.1, 'hash npm'