[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Infinite loop in bash glob matching

From: Zoltán Herczeg
Subject: Re: Infinite loop in bash glob matching
Date: Tue, 16 May 2017 21:36:33 +0200 (CEST)


bash version: GNU bash, version 4.3.11(1)-release (x86_64-pc-linux-gnu)
This command hangs in any directory on my machine (I don't have a directory 
without a dot file):

ls @(@()).

>> The shell globbing library seems to be interpreting this pattern
>> weirdly. I don't know the answer for this, but the glob() call in
>> glibc does what I expect:

Yes, glibc seems correct. Do you mean this is a bug in the shell?

Thank you for the help, bash is a great tool.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]