[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Setting IFS='*' causes bash to freeze on tab completion
From: |
Andreas Schwab |
Subject: |
Re: Setting IFS='*' causes bash to freeze on tab completion |
Date: |
Sat, 02 Jul 2016 12:30:54 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux) |
"Ibrahim M. Ghazal" <imgx64@gmail.com> 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 exists for the other glob special characters ? [ ] .
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."