Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: 'LC_COLLATE=de ls [A-Z]*' expands to 'every file' including lowercase
- X-seq: zsh-workers 4211
- From: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx (Zsh hacking and development)
- Subject: Re: 'LC_COLLATE=de ls [A-Z]*' expands to 'every file' including lowercase
- Date: Wed, 8 Jul 1998 10:36:21 -0500 (CDT)
- In-reply-to: <980708040212.ZM8132@xxxxxxxxxxxxxxxxxxxxxxx> from Bart Schaefer at "Jul 8, 98 04:02:12 am"
> } According to the standard:
> }
> } LC_COLLATE
> } This variable determines the behaviour of range expressions,
> } equivalence classes and multi-character collating elements
> } within pattern matching.
>
> Which standard, specifically?
POSIX 1003.2 and X Open Single Unix Spcification Version 2. It says:
(7) A range expression represents the set of collating elements that
fall between two elements in the current collation sequence,
inclusively. It shall be expressed as the starting point and
the ending point separated by a hyphen (-).
Range expressions shall not be used in Strictly Conforming
POSIX.2 Applications because their behavior is dependent on the
collating sequence. Range expressions shall be supported by
conforming implementations.
Zoli
Messages sorted by:
Reverse Date,
Date,
Thread,
Author