On Tue, Jan 15, 2019 at 3:03 PM Étienne Mollier <etienne.moll...@mailoo.org> wrote: > > Package: bash > Version: 5.0-1 > Severity: normal > > Dear Maintainer, > > While doing my regular upgrade of Sid, I happily discovered that > brand new bash version 5.0-1 in the set of installed packages, > so I gave it a try. :^) > > I ran the command `ls` which stuck without showing the output of > my home directory while it usually did, and while /bin/ls did > show it without much issues. Remembering a similar situation in > a long forgotten past in Csh, I ran `unalias ls` and the > situation went back to normal. > > Alas, in my foolishness, I dug deeper in my login scripts to > understand why this was affecting me, thinking I introduced a > loop of some sort. Instead I discovered that: if an alias ends > with a tabulation character, then the hang reappears. Example: > > $ alias reproducer='true ' > $ reproducer > _
FYI, this issue was reported upstream in https://lists.gnu.org/archive/html/bug-bash/2019-01/msg00084.html. This was fixed in the `devel' branch in git, but I'm not sure if a patch for 5.0 has been released yet. The issue is caused by bash improperly handling the case where an alias has trailing tab characters.