From: Jilles Tjoelker <jilles@stack.nl>
To: Alkis Georgopoulos <alkisg@gmail.com>
Cc: dash@vger.kernel.org
Subject: Re: The Greek letter "rho" is considered as two letters
Date: Sun, 8 Aug 2010 14:56:25 +0200 [thread overview]
Message-ID: <20100808125625.GA83966@stack.nl> (raw)
In-Reply-To: <1281211032.6631.45.camel@alkis>
On Sat, Aug 07, 2010 at 10:57:12PM +0300, Alkis Georgopoulos wrote:
> Erm actually this problem happens with all utf8 characters, i.e. dash
> does not properly take utf8 characters into account when expanding "?".
> $ touch appétit
> $ ls app?tit
> ls: cannot access app?tit: No such file or directory
> $ ls app??tit
> appétit
Yes, it seems that dash has zero support for locales. In some ways this
is an advantage, as locale support can make things considerably slower
and configure/startup scripts don't need it. However, it leads to
inconsistent behaviour with other utilities that do support locales.
For FreeBSD's /bin/sh, which is another ash variant, I think some degree
of locale support (at least for utf-8) is desirable at some point. This
would include changing pattern matching and ${#var}.
I don't know what Herbert Xu thinks about this.
--
Jilles Tjoelker
prev parent reply other threads:[~2010-08-08 12:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-07 19:37 The Greek letter "rho" is considered as two letters Alkis Georgopoulos
2010-08-07 19:57 ` Alkis Georgopoulos
2010-08-08 12:55 ` ? doesn't match non-ascii characters Alkis Georgopoulos
2010-08-08 12:56 ` Jilles Tjoelker [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=20100808125625.GA83966@stack.nl \
--to=jilles@stack.nl \
--cc=alkisg@gmail.com \
--cc=dash@vger.kernel.org \
/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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.