From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3096 invoked from network); 2 Jul 2001 13:41:33 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 2 Jul 2001 13:41:33 -0000 Received: (qmail 16877 invoked by alias); 2 Jul 2001 13:40:35 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 15208 Received: (qmail 16859 invoked from network); 2 Jul 2001 13:40:33 -0000 Date: Mon, 2 Jul 2001 09:41:21 -0400 From: Clint Adams To: Andrej Borsenkow Cc: Zsh hackers list Subject: Re: bracket expressions and POSIX Message-ID: <20010702094121.B17004@dman.com> References: <000301c102be$19047990$21c9ca95@mow.siemens.ru> <001901c102ca$d606be20$21c9ca95@mow.siemens.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <001901c102ca$d606be20$21c9ca95@mow.siemens.ru>; from Andrej.Borsenkow@mow.siemens.ru on Mon, Jul 02, 2001 at 11:44:34AM +0400 > IIRC POSIX does not deal with locale so it is a bit offtopic w.r.t. POSIX > compatibility. But XPG/SUS do. Anybody with access to pure POSIX (even > drafts would do; I have access only to XPG). The standard utilities in the Shell and Utilities volume of IEEE Std 1003.1-200x shall base their behavior on the current locale, as defined in the ENVIRONMENT VARIABLES section for each utility. The behavior of some of the C-language functions defined in the System Interfaces volume of IEEE Std 1003.1-200x shall also be modified based on the current locale, as defined by the last call to setlocale (). Locales other than those supplied by the implementation can be created via the localedef utility, provided that the _POSIX2_LOCALEDEF symbol is defined on the system. Even if localedef is not provided, all implementations conforming to the System Interfaces volume of IEEE Std 1003.1-200x shall provide one or more locales that behave as described in this chapter. The input to the utility is described in Section 7.3 (on page 122). The value that is used to specify a locale when using environment variables shall be the string specified as the name operand to the localedef utility when the locale was created. The strings "C" and "POSIX" are reserved as identifiers for the POSIX locale (see Section 7.2 (on page 122)). When the value of a locale environment variable begins with a slash ( / ), it shall be interpreted as the pathname of the locale definition; the type of file (regular, directory, and so on) used to store the locale definition is implementation-defined. If the value does not begin with a slash, the mechanism used to locate the locale is implementation-defined.