Re: Setting IFS='*' causes bash to freeze on tab completion

2016-07-02 Thread Chet Ramey
On 7/2/16 3:16 AM, Ibrahim M. Ghazal wrote: > Thanks for the pointer. I reported it there ( > https://github.com/scop/bash-completion/issues/52 ). > > After further investigation, the problem seems to be that when IFS is > set to '*', case *) doesn't get executed. Is this the intended > behavior?

Re: Setting IFS='*' causes bash to freeze on tab completion

2016-07-02 Thread Andreas Schwab
"Ibrahim M. Ghazal" writes: > After further investigation, the problem seems to be that when IFS is > set to '*', case *) doesn't get executed. Is this the intended > behavior? > > For example: > > IFS='*'; case "foo" in *) echo "got here";; esac > > doesn't print "got here". The same issue exis

Re: Setting IFS='*' causes bash to freeze on tab completion

2016-07-02 Thread Ibrahim M. Ghazal
Thanks for the pointer. I reported it there ( https://github.com/scop/bash-completion/issues/52 ). After further investigation, the problem seems to be that when IFS is set to '*', case *) doesn't get executed. Is this the intended behavior? For example: IFS='*'; case "foo" in *) echo "got here"

Re: Setting IFS='*' causes bash to freeze on tab completion

2016-07-01 Thread Chet Ramey
On 7/1/16 8:23 AM, Ibrahim M. Ghazal wrote: > Bash Version: 4.3 > Patch Level: 42 > Release Status: release > > Description: > If you set IFS='*' in an interactive shell, then try to use tab > completion, bash freezes and doesn't respond to any keyboard input. > Running top from a different bash