From owner-freebsd-questions@freebsd.org Sat Nov 2 22:34:47 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 22D2A17880A for ; Sat, 2 Nov 2019 22:34:47 +0000 (UTC) (envelope-from dr.klepp@gmx.at) Received: from vie01a-dmta-at50-1.mx.upcmail.net (vie01a-dmta-at50-1.mx.upcmail.net [62.179.121.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 475DQG3mc4z4Jcg for ; Sat, 2 Nov 2019 22:34:46 +0000 (UTC) (envelope-from dr.klepp@gmx.at) Received: from [172.31.216.41] (helo=vie01a-pemc-psmtp-at50) by vie01a-dmta-at50.mx.upcmail.net with esmtp (Exim 4.92) (envelope-from ) id 1iR1tJ-0004Xw-F0 for freebsd-questions@freebsd.org; Sat, 02 Nov 2019 23:29:05 +0100 Received: from x61.lan ([85.126.97.210]) by vie01a-pemc-psmtp-at50 with SMTP @ mailcloud.upcmail.net id MAV42100v4YLlkt0BAV5LC; Sat, 02 Nov 2019 23:29:05 +0100 X-SourceIP: 85.126.97.210 X-CNFS-Analysis: v=2.2 cv=O6RJhF1W c=1 sm=2 tr=0 cx=a_idp_f a=/Ac8Q0O/YFE5LOLfUiYZVw==:117 a=/Ac8Q0O/YFE5LOLfUiYZVw==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=IkcTkHD0fZMA:10 a=MzsqzRwlAAAA:8 a=6I5d2MoRAAAA:8 a=hKNOJcEOAAAA:8 a=Lx8Bpjh-HcW9fOScTxcA:9 a=QEXdDO2ut3YA:10 a=S6bYQHMK6qnkfE3nmWQM:22 a=IjZwj45LgO3ly-622nXo:22 a=XzhKbxqxvhA9PZRCS47t:22 From: "Dr. Nikolaus Klepp" To: freebsd-questions@freebsd.org Subject: Re: sort is broken Date: Sat, 2 Nov 2019 23:29:10 +0100 User-Agent: KMail/1.9.10 References: <8221.1572732697@segfault.tristatelogic.com> In-Reply-To: <8221.1572732697@segfault.tristatelogic.com> X-KMail-QuotePrefix: > MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <201911022329.10843.dr.klepp@gmx.at> X-Rspamd-Queue-Id: 475DQG3mc4z4Jcg X-Spamd-Bar: +++++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=fail (mx1.freebsd.org: domain of dr.klepp@gmx.at does not designate 62.179.121.136 as permitted sender) smtp.mailfrom=dr.klepp@gmx.at X-Spamd-Result: default: False [7.79 / 15.00]; ARC_NA(0.00)[]; R_SPF_FAIL(1.00)[-all]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmx.at]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[gmx.at]; NEURAL_SPAM_MEDIUM(0.99)[0.993,0]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; MID_CONTAINS_FROM(1.00)[]; FROM_NAME_HAS_TITLE(1.00)[dr]; IP_SCORE_FREEMAIL(0.00)[]; IP_SCORE(0.00)[ipnet: 62.179.0.0/17(1.47), asn: 6830(3.75), country: AT(-0.10)]; FORGED_MUA_KMAIL_MSGID(3.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[136.121.179.62.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmx.at]; ASN(0.00)[asn:6830, ipnet:62.179.0.0/17, country:AT]; MIME_TRACE(0.00)[0:+]; GREYLIST(0.00)[pass,body]; FROM_EQ_ENVFROM(0.00)[] X-Spam: Yes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Nov 2019 22:34:47 -0000 Anno domini 2019 Sat, 02 Nov 15:11:37 -0700 Ronald F. Guilmette scripsit: > In message , you wrote: >=20 > > > > > > > >On 11/2/19 5:14 PM, Ronald F. Guilmette wrote: > >> Not a question, just an expression of grief and deep dismay. > >>=20 > >> It is a sad day when even very fundamental tools, used in billions > >> of scripts, such as /usr/bin/sort turn up broken. > >>=20 > >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241679 > >>=20 > >> Regards, > >> rfg > >>=20 > > > >root@q4:/ # sort a > >z=C3=BCrich.email > >root@q4:/ # sort < a > >z=C3=BCrich.email > >root@q4:/ # uname -a > >FreeBSD q4.queldor.net 12.0-RELEASE-p3 FreeBSD 12.0-RELEASE-p3 GENERIC=20 > >amd64 > >root@q4:/ # cat a > >z=C3=BCrich.email > >root@q4:/ # > > > >Seems to be fine on my 12.0 >=20 > Well, I guess it's just me then... >=20 > % uname -a > FreeBSD segfault.tristatelogic.com 12.0-RELEASE FreeBSD 12.0-RELEASE r341= 666 GENERIC amd64 > % sort --version > 2.3-FreeBSD >=20 >=20 > What version of sort do you have? I remember that this sort of thing is around since at least 11.0. The probl= em occurs, when you have UFT-8 encoding set as default, but the input data = is iso 8859-1. Some characters of iso 8859-1 (=C3=A4=C3=B6=C3=BC...) are no= t valid in UTF-8. Nik > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" >=20 =2D-=20 Please do not email me anything that you are not comfortable also sharing w= ith the NSA, CIA ...