From owner-freebsd-questions@freebsd.org Sat Nov 2 23:35:39 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 EB8DE17A750 for ; Sat, 2 Nov 2019 23:35:39 +0000 (UTC) (envelope-from johnl@iecc.com) Received: from gal.iecc.com (gal.iecc.com [IPv6:2001:470:1f07:1126:0:43:6f73:7461]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gal.iecc.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 475FmV6jBGz4M5K for ; Sat, 2 Nov 2019 23:35:38 +0000 (UTC) (envelope-from johnl@iecc.com) Received: (qmail 59187 invoked from network); 2 Nov 2019 23:35:31 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:mime-version:content-type:content-transfer-encoding; s=e72d.5dbe12c3.k1911; i=printer-iecc.com@submit.iecc.com; bh=+nBxngT48eNzQwjRkEbJFzvQhyuRoZSnJqSgMjRrezM=; b=jeFnF+gyRUjPcK4h8ooy++HkLqBb9lZrqh7mhlPMEFQ05WAD69c0Dqm2w7oqtnrjfx6wG1T+GMUkcR4rmQJ/5W7ZJT9NwJEynTB9LdLfdKeR95pmUg/UbbICZuMXrnC84rFufUO2HqZP4IbmkFe5kkMPG0pFDbLciBgB/e8j6Hrg8TeXlgUOsN4eLklCUaC+qFh3zEOVILgIj0ZadvnGCKc8i10I7u0NRiaYLgbyMc37oolCCbNp+gjcol8ST9KY Received: from ary.local ([IPv6:2001:470:1f07:1126::78:696d:6170]) by imap.iecc.com ([IPv6:2001:470:1f07:1126::78:696d:6170]) with ESMTPSA (TLS1.2 ECDHE-RSA AES-256-GCM AEAD, printer@iecc.com) via TCP6; 02 Nov 2019 23:35:30 -0000 Received: by ary.local (Postfix, from userid 501) id CFE66E4728E; Sat, 2 Nov 2019 19:35:28 -0400 (EDT) Date: 2 Nov 2019 19:35:28 -0400 Message-Id: <20191102233528.CFE66E4728E@ary.local> From: "John Levine" To: freebsd-questions@freebsd.org Cc: rfg@tristatelogic.com Subject: Re: sort is broken In-Reply-To: <7668.1572729288@segfault.tristatelogic.com> Organization: Taughannock Networks X-Headerized: yes Mime-Version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8bit X-Rspamd-Queue-Id: 475FmV6jBGz4M5K X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=iecc.com header.s=e72d.5dbe12c3.k1911 header.b=jeFnF+gy; dmarc=pass (policy=none) header.from=iecc.com; spf=pass (mx1.freebsd.org: domain of johnl@iecc.com designates 2001:470:1f07:1126:0:43:6f73:7461 as permitted sender) smtp.mailfrom=johnl@iecc.com X-Spamd-Result: default: False [-6.13 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[iecc.com:s=e72d.5dbe12c3.k1911]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_MED(-2.00)[iecc.com.dwl.dnswl.org : 127.0.4.2]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f07:1126::/64]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; HAS_ORG_HEADER(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[iecc.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[iecc.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-1.63)[ipnet: 2001:470::/32(-4.61), asn: 6939(-3.47), country: US(-0.05)]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] 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 23:35:40 -0000 In article <7668.1572729288@segfault.tristatelogic.com> you write: >Not a question, just an expression of grief and deep dismay. > >It is a sad day when even very fundamental tools, used in billions >of scripts, such as /usr/bin/sort turn up broken. > >https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241679 I tried it on 11.3 and 12.0 and it works fine. What's in your environment, particularly what's LC_ALL set to? R's, John