From nobody Fri Apr 21 10:01:16 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q2qmj4y9lz46C8t for ; Fri, 21 Apr 2023 10:01:25 +0000 (UTC) (envelope-from SRS0=VdIV=AM=klop.ws=ronald-lists@realworks.nl) Received: from smtp-relay-int.realworks.nl (smtp-relay-int.realworks.nl [194.109.157.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q2qmh3QrLz3LRc for ; Fri, 21 Apr 2023 10:01:24 +0000 (UTC) (envelope-from SRS0=VdIV=AM=klop.ws=ronald-lists@realworks.nl) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=klop.ws header.s=rw2 header.b=zS2jS7HB; spf=pass (mx1.freebsd.org: domain of "SRS0=VdIV=AM=klop.ws=ronald-lists@realworks.nl" designates 194.109.157.24 as permitted sender) smtp.mailfrom="SRS0=VdIV=AM=klop.ws=ronald-lists@realworks.nl"; dmarc=pass (policy=quarantine) header.from=klop.ws Date: Fri, 21 Apr 2023 12:01:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1682071276; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=n5XZPi08GNy2WAgxhTE6VDlO6cWj8N0fwIduz7lzczg=; b=zS2jS7HBKuMF6AFT8bwjOdTScaagG+3Dtwz10eBbZozj0QXcSILiY0AvWLX23Qr7r5cEOX xzwY7WoNj21fB6CufnjOg/nzjXrupZDU+5/UChG+VuPdwC8XLx4dsL+jq48LuqJfWqRQpR jxLaex9NNYqRqeuIaGk2qDROkyGdDrNJkC/snnC7lBdigl4yLtbTJvA2bYDmkinjjythRc CEzAS5zQ4ZsJu3qBdPGYo35k2yglcTy4rVEaoLpf+7E0/3JWbF0pxaqSq9yCqApvMnvFgQ LyQW1IWNKBZxE2RIG+ZtIYI0N45pWdDNbrifRwItQri80Y/zUsIqkRsWOazYDQ== From: Ronald Klop To: Poul-Henning Kamp Cc: current@freebsd.org Message-ID: <564252502.12.1682071276296@mailrelay> In-Reply-To: <202304172106.33HL6RUX051407@critter.freebsd.dk> References: <202304172106.33HL6RUX051407@critter.freebsd.dk> Subject: Re: find(1): I18N gone wild ? List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_11_1668579163.1682071276075" X-Mailer: Realworks (653.239) Importance: Normal X-Priority: 3 (Normal) X-Spamd-Result: default: False [-2.02 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.82)[-0.817]; DMARC_POLICY_ALLOW(-0.50)[klop.ws,quarantine]; MID_RHS_NOT_FQDN(0.50)[]; FORGED_SENDER(0.30)[ronald-lists@klop.ws,SRS0=VdIV=AM=klop.ws=ronald-lists@realworks.nl]; R_DKIM_ALLOW(-0.20)[klop.ws:s=rw2]; R_SPF_ALLOW(-0.20)[+ip4:194.109.157.0/24]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_ZERO(0.00)[0]; MLMMJ_DEST(0.00)[current@freebsd.org]; DKIM_TRACE(0.00)[klop.ws:+]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; HAS_X_PRIO_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_NEQ_ENVFROM(0.00)[ronald-lists@klop.ws,SRS0=VdIV=AM=klop.ws=ronald-lists@realworks.nl] X-Rspamd-Queue-Id: 4Q2qmh3QrLz3LRc X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N ------=_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 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 =C3=82 

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=3DC.UTF-8 find . -name '[A-Z]*' -print     ./FOO
    # env LANG=3Den_US.UTF-8 find . -name '[A-Z]*' -pri= nt
    ./FOO
    ./bar

Really ?!

-- 
Poul-Henning Kamp       | UNIX since Zilog Ze= us 3.20
phk@FreeBSD.ORG         | TCP/IP si= nce RFC 956
FreeBSD committer       | BSD since 4.3-tahoe=
Never attribute to malice what can adequately be explained by incompetence.=
=C3=82 



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

Regards,
Ronald.
=C3=82  ------=_Part_11_1668579163.1682071276075--