Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #11293
| From | isabella parakiss <izaberina@gmail.com> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | nocaseglob and =~ |
| Date | 2015-08-05 05:33 +0200 |
| Message-ID | <mailman.7828.1438745607.904.bug-bash@gnu.org> (permalink) |
nocaseglob affects regex matching in [[ but according to the man page only nocasematch should: nocaseglob If set, bash matches filenames in a case-insensitive fashion when performing pathname expansion (see Pathname Expansion above). nocasematch If set, bash matches patterns in a case-insensitive fashion when performing matching while executing case or [[ conditional commands. I don't know if it'd make sense to have case-insensitive glob matches and case-sensitive regexes at the same time... It may not be that useful and even counterintuitive. Anyway, it's probably better to either remove glob_ignore_case from line 67 in lib/sh/shmatch.c or document the actual behaviour, if intended. --- xoxo iza
Back to gnu.bash.bug | Previous | Next | Find similar
nocaseglob and =~ isabella parakiss <izaberina@gmail.com> - 2015-08-05 05:33 +0200
csiph-web