Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #11293
| Path | csiph.com!au2pb.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!news.ripco.com!news.glorb.com!usenet.stanford.edu!not-for-mail |
|---|---|
| From | isabella parakiss <izaberina@gmail.com> |
| Newsgroups | gnu.bash.bug |
| Subject | nocaseglob and =~ |
| Date | Wed, 5 Aug 2015 05:33:23 +0200 |
| Lines | 21 |
| Approved | bug-bash@gnu.org |
| Message-ID | <mailman.7828.1438745607.904.bug-bash@gnu.org> (permalink) |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| X-Trace | usenet.stanford.edu 1438745607 22620 208.118.235.17 (5 Aug 2015 03:33:27 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| To | bug-bash <bug-bash@gnu.org> |
| Envelope-to | bug-bash@gnu.org |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=ZOwTi/ZpdKBsGQqk5qGlI5ORY50FUrEMNI6GDIFGekM=; b=CCZBCpe7BdWJGTgUbW0jqHL4UIZtMykRSVjw+lN23B5w+5WPZs3PDUaMpdMW3wUCaY Dy8FsAT3kNj4oaR2KhgprL1awiAVrAX/pWvQpxGsV5kx4fuTc79lLapDzQTlvVnrdNji 73GLAr6Y44h5yBjQ0mQvzDaeksT3Ayz03QgAogqVrjisROfAzlo+/LepWfI1Y9f2fT2w ymTPI/4QlvOY7rD0K+++ZFPVlcnMKsf2nt9WEUhPZv0uXRpW++3F262QkYXxaYvUr+v9 Wbw5bHzfmjsDGAFOvChw1nTYBAGp/VI/mh6hPby8ziuSj4B8rd+EnMqIRWdJ8uccMY3I E0VQ== |
| X-Received | by 10.50.178.161 with SMTP id cz1mr3453987igc.85.1438745603199; Tue, 04 Aug 2015 20:33:23 -0700 (PDT) |
| X-detected-operating-system | by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). |
| X-Received-From | 2607:f8b0:4001:c05::236 |
| X-BeenThere | bug-bash@gnu.org |
| X-Mailman-Version | 2.1.14 |
| Precedence | list |
| List-Id | Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org> |
| List-Unsubscribe | <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe> |
| List-Archive | <http://lists.gnu.org/archive/html/bug-bash> |
| List-Post | <mailto:bug-bash@gnu.org> |
| List-Help | <mailto:bug-bash-request@gnu.org?subject=help> |
| List-Subscribe | <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe> |
| Xref | csiph.com gnu.bash.bug:11293 |
Show key headers only | View raw
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