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> References: <202304172106.33HL6RUX051407@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
------=_Part_11_1668579163.1682071276075 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable =C3=82=20 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 ? >=20 > This surprised me: >=20 > # mkdir /tmp/P > # cd /tmp/P > # touch FOO > # touch bar > # env LANG=3DC.UTF-8 find . -name '[A-Z]*' -print > ./FOO > # env LANG=3Den_US.UTF-8 find . -name '[A-Z]*' -print > ./FOO > ./bar >=20 > Really ?! >=20 > --=20 > 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 incompetenc= e. > =C3=82=20 >=20 >=20 >=20 My Mac and a Linux server only give ./FOO in both cases. Just a 2 cents rem= ark. Regards, Ronald. =C3=82=20 ------=_Part_11_1668579163.1682071276075 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><head></head><body>=C3=82 <p><strong>Van:</strong> Poul-Henning Kamp <phk@phk.freebsd.dk><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=3D"padding-right: 0px; padding-left: 5px; margin-left: 5p= x; border-left: #000000 2px solid; margin-right: 0px"> <div class=3D"MessageRFC822Viewer" id=3D"P"> <div class=3D"TextPlainViewer" id=3D"P.P">This surprised me:<br> <br> # mkdir /tmp/P<br> # cd /tmp/P<br> # touch FOO<br> # touch bar<br> # env LANG=3DC.UTF-8 find . -name '[A-Z]*' -print<b= r> ./FOO<br> # env LANG=3Den_US.UTF-8 find . -name '[A-Z]*' -pri= nt<br> ./FOO<br> ./bar<br> <br> Really ?!<br> <br> -- <br> Poul-Henning Kamp | UNIX since Zilog Ze= us 3.20<br> phk@FreeBSD.ORG | TCP/IP si= nce RFC 956<br> FreeBSD committer | BSD since 4.3-tahoe= <br> Never attribute to malice what can adequately be explained by incompetence.= <br> =C3=82 </div> <hr></div> </blockquote> <br> <br> My Mac and a Linux server only give ./FOO in both cases. Just a 2 cents rem= ark.<br> <br> Regards,<br> Ronald.<br> =C3=82 </body></html> ------=_Part_11_1668579163.1682071276075--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?564252502.12.1682071276296>