zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: Emulation and NUMERIC_GLOB_SORT
Date: Thu, 11 Nov 1999 12:35:16 +0100 (MET)	[thread overview]
Message-ID: <199911111135.MAA28923@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Zefram's message of Thu, 11 Nov 1999 11:01:46 +0000 (GMT)


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@informatik.hu-berlin.de


             reply	other threads:[~1999-11-11 11:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-11 11:35 Sven Wischnowsky [this message]
1999-11-11 11:42 ` Zefram
  -- strict thread matches above, loose matches on Subject: below --
1999-11-11 10:25 Bart Schaefer
1999-11-11 11:01 ` Zefram

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=199911111135.MAA28923@beta.informatik.hu-berlin.de \
    --to=wischnow@informatik.hu-berlin.de \
    --cc=zsh-workers@sunsite.auc.dk \
    /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).