Re: Possible Bug in command and type posix compliance

2019-04-05 Thread Michael S
That sound like a good solution to me as having a program in your hash table that isn't executable isn't much of an advantage anyway and it's desirable to search the whole PATH again to find a command that is executable. I found where it's adding to the hash table in findcmd.c and I'll add some add

Re: Possible Bug in command and type posix compliance

2019-04-05 Thread Chet Ramey
On 4/5/19 2:28 AM, Michael S wrote: > Hello, > > I believe I have found a bug when using the posix compliant bash. From this > page point 53 > https://www.gnu.org/software/bash/manual/html_node/Bash-POSIX-Mode.html it > states that type and command should not return a binary that is non > executab

Possible Bug in command and type posix compliance

2019-04-04 Thread Michael S
Hello, I believe I have found a bug when using the posix compliant bash. From this page point 53 https://www.gnu.org/software/bash/manual/html_node/Bash-POSIX-Mode.html it states that type and command should not return a binary that is non executable. For most cases this is currently true and the