find(1): I18N gone wild ?
- Reply: Xin LI : "Re: find(1): I18N gone wild ?"
- Reply: Ronald Klop : "Re: find(1): I18N gone wild ?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 17 Apr 2023 21:06:27 UTC
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.