[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: |
Thu, 18 May 2017 08:29:13 +0200 (CEST) |
>I read this as saying that it's a requirement on the application to ensure
>that character classes are correctly formed, and it's unspecified behavior
>if they're not.
>
>So you're right: people should not count on shells treating improperly-
>formed character classes as literal characters.
Thank you for the explanation.
I think throwing an error would be better than an undefined behaviour. Bash
throws error for solo parenthesis, a similar technique could be used here.
Regards,
Zoltan
- Infinite loop in bash glob matching, Zoltán Herczeg, 2017/05/16
- 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 <=
- Re: Infinite loop in bash glob matching, Greg Wooledge, 2017/05/18
- Re: Infinite loop in bash glob matching, Chet Ramey, 2017/05/18