Re: find(1): I18N gone wild ?
- Reply: Dimitry Andric : "Re: find(1): I18N gone wild ?"
- In reply to: Poul-Henning Kamp : "find(1): I18N gone wild ?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 21 Apr 2023 10:01:16 UTC
 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. Â