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: Feature request or advice on implementation for buffering command output

2019-04-05 Thread L A Walsh
On 3/27/2019 12:49 AM, Anders Brujordet wrote: > Usecase: > You run a command, the output is displayed in your terminal. Now that you > see the output, you would like to grab say an ID from this output. Instead > of coping and pasting the output, I would like to be able to do something > like: > #

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