Â
Van: Poul-Henning Kamp <p...@phk.freebsd.dk>
Datum: maandag, 17 april 2023 23:06
Aan: curr...@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
p...@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.
Â