Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Emulation and NUMERIC_GLOB_SORT
- X-seq: zsh-workers 8623
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: Emulation and NUMERIC_GLOB_SORT
- Date: Thu, 11 Nov 1999 12:35:16 +0100 (MET)
- In-reply-to: Zefram's message of Thu, 11 Nov 1999 11:01:46 +0000 (GMT)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Zefram wrote:
> Fundamentally, I view globbing as a programming feature, which should
> be utterly unaffected by locale. Same for string comparisons in [[]].
> I think we do want a locale-dependent string comparison operation, but
> its use is very much the exception, not the rule. Pattern matching and
> string comparisons are used on all sorts of strings, and only very rarely
> on natural-language text.
Sounds like a case for a matching flag, doesn't it? `(#L)' or
something to turn using locale-definitions on (and also in sorting if
the thing is globbed).
> ...
>
> [1] That reminds me, one of the things I never got round to implementing
> as a builtin was the POSIX "printf" utility. The advantage of having
> it as a builtin is that we could then use the same code for a "sprintf"
> builtin, which would put the result into a shell variable instead of
> sending it to standard output, which is a feature I often miss.
Oh yes.
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author