zsh-workers
 help / color / mirror / code / Atom feed
From: Zoltan Hidvegi <hzoli@frontiernet.net>
To: schaefer@brasslantern.com (Bart Schaefer)
Cc: zsh-workers@math.gatech.edu
Subject: Re: 'LC_COLLATE=de ls [A-Z]*' expands to 'every file' including lowercase
Date: Wed, 8 Jul 1998 14:35:04 -0500 (CDT)	[thread overview]
Message-ID: <199807081935.OAA79318@frontiernet.net> (raw)
In-Reply-To: <980708102437.ZM9344@candle.brasslantern.com> from Bart Schaefer at "Jul 8, 98 10:24:37 am"

> On Jul 8, 10:36am, Zoltan Hidvegi wrote:
> } Subject: Re: 'LC_COLLATE=de ls [A-Z]*' expands to 'every file' including l
> }
> } > Which standard, specifically?
> } 
> } POSIX 1003.2 and X Open Single Unix Spcification Version 2.
> 
> Well, yes, but I meant which volume.  Commands and Utilities?

Base Definitions -> Regular Expressions.  Commands and Utilities ->
Shell Command Language refers to regular expressions describing range
patterns.  Which means that you should not be surprised when sed and
grep start matching lower case letters with [A-Z].  And if you ever
port zsh to some EBCDIC machine, you'd probably want to use the
collate order.  But it looks like the GNU regexp library does not use
the collate order for ranges, neither does bash, actually, I haven't
found anything which uses the collate order for ranges, so it is
probably OK to make zsh non-conforming here.

Zoli


      reply	other threads:[~1998-07-08 19:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-06 17:28 C. v. Stuckrad
1998-07-06 18:14 ` Bart Schaefer
1998-07-07 15:30   ` C. v. Stuckrad
1998-07-08  6:40   ` Zoltan Hidvegi
1998-07-08 11:02     ` Bart Schaefer
1998-07-08 15:36       ` Zoltan Hidvegi
1998-07-08 17:24         ` Bart Schaefer
1998-07-08 19:35           ` Zoltan Hidvegi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199807081935.OAA79318@frontiernet.net \
    --to=hzoli@frontiernet.net \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).