Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Apr 2023 12:01:16 +0200 (CEST)
From:      Ronald Klop <ronald-lists@klop.ws>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        current@freebsd.org
Subject:   Re: find(1): I18N gone wild ?
Message-ID:  <564252502.12.1682071276296@mailrelay>
In-Reply-To: <202304172106.33HL6RUX051407@critter.freebsd.dk>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
 
Van: Poul-Henning Kamp <phk@phk.freebsd.dk>
Datum: maandag, 17 april 2023 23:06
Aan: current@freebsd.org
Onderwerp: find(1): I18N gone wild ?
> 
> This surprised me:
> 
>     # mkdir /tmp/P
>     # cd /tmp/P
>     # touch FOO
>     # touch bar
>     # env LANG=C.UTF-8 find . -name '[A-Z]*' -print
>     ./FOO
>     # env LANG=en_US.UTF-8 find . -name '[A-Z]*' -print
>     ./FOO
>     ./bar
> 
> Really ?!
> 
> -- 
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
> Â 
> 
> 
> 


My Mac and a Linux server only give ./FOO in both cases. Just a 2 cents remark.

Regards,
Ronald.
 
[-- Attachment #2 --]
<html><head></head><body>Â&nbsp;
<p><strong>Van:</strong> Poul-Henning Kamp &lt;phk@phk.freebsd.dk&gt;<br>
<strong>Datum:</strong> maandag, 17 april 2023 23:06<br>
<strong>Aan:</strong> current@freebsd.org<br>
<strong>Onderwerp:</strong> find(1): I18N gone wild ?</p>

<blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: #000000 2px solid; margin-right: 0px">
<div class="MessageRFC822Viewer" id="P">
<div class="TextPlainViewer" id="P.P">This surprised me:<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;# mkdir /tmp/P<br>
&nbsp;&nbsp;&nbsp;&nbsp;# cd /tmp/P<br>
&nbsp;&nbsp;&nbsp;&nbsp;# touch FOO<br>
&nbsp;&nbsp;&nbsp;&nbsp;# touch bar<br>
&nbsp;&nbsp;&nbsp;&nbsp;# env LANG=C.UTF-8 find . -name '[A-Z]*' -print<br>
&nbsp;&nbsp;&nbsp;&nbsp;./FOO<br>
&nbsp;&nbsp;&nbsp;&nbsp;# env LANG=en_US.UTF-8 find . -name '[A-Z]*' -print<br>
&nbsp;&nbsp;&nbsp;&nbsp;./FOO<br>
&nbsp;&nbsp;&nbsp;&nbsp;./bar<br>
<br>
Really ?!<br>
<br>
--&nbsp;<br>
Poul-Henning Kamp &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| TCP/IP since RFC 956<br>
FreeBSD committer &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.<br>
Â&nbsp;</div>

<hr></div>
</blockquote>
<br>
<br>
My Mac and a Linux server only give ./FOO in both cases. Just a 2 cents remark.<br>
<br>
Regards,<br>
Ronald.<br>
Â&nbsp;</body></html>
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?564252502.12.1682071276296>