[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Infinite loop in bash glob matching
From: |
Zoltán Herczeg |
Subject: |
Infinite loop in bash glob matching |
Date: |
Tue, 16 May 2017 09:48:14 +0200 (CEST) |
Hi,
bash enter an infinite loop for this glob:
ls @(@()).
I have been trying to create a bash glob regex converter. It would be great if
somebody (privately) could explain me how !() and invalid [] expressions
exactly work. I have questions such as:
ls a[[:alpha:][:abm]
Why does this match to a: and nothing else (e.g. am or a[mm )?
Regards,
Zoltan
- Infinite loop in bash glob matching,
Zoltán Herczeg <=
- Re: Infinite loop in bash glob matching, Eduardo Bustamante, 2017/05/16
- Re: Infinite loop in bash glob matching, Daniel Mills, 2017/05/16
- Re: Infinite loop in bash glob matching, Zoltán Herczeg, 2017/05/16
- Re: Infinite loop in bash glob matching, Eduardo Bustamante, 2017/05/17
- Re: Infinite loop in bash glob matching, Chet Ramey, 2017/05/17
- Re: Infinite loop in bash glob matching, Zoltán Herczeg, 2017/05/18
- Re: Infinite loop in bash glob matching, Greg Wooledge, 2017/05/18
- Re: Infinite loop in bash glob matching, Chet Ramey, 2017/05/18