From nobody Mon Feb 17 16:15:23 2025 X-Original-To: bugs@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 4YxSRv1R8qz5nqp9 for ; Mon, 17 Feb 2025 16:15:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YxSRv0rqwz3sRh for ; Mon, 17 Feb 2025 16:15:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739808923; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mRDBsI5CpmpYcBoPvDteJBkPeAfhw3zr1SueAC8bSGE=; b=XUQpRGRb2fNfuLrFBsNqqWDpSeEd3sa6SSQ5NChZ0B2hHF/dkzwXoYLSuSU2KABSKV+kus OkY/VJgcovtIQb5cp8n7SfMu6Er5mgkbQAhH10/aS24ABSDGQxUrE50YHdnO8Kjp2MG5Kf a8tZF2Edvu/h0LaiZJ7vJCKbs9nRu9jjEYTCv3IIRJ8vf0SFQHk4BCmogNvvSzyCKsjTAl 125cNnuEi4XQq0mJoKQkrjsqZVdzGGXNyMbP9YEnAMtzKc+rK+kxbFhvLXqlanAA+KRk9u EoGVHQVV1BoRhsoqIJwd/gtv8b/FKKUTOCucLRR50iz9yFXjog0wRrB6C5wWWw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739808923; a=rsa-sha256; cv=none; b=fr80+Xo3tjbmT655hieArZC3LpESbgoDTPHFmRUXo6VM4X1wJ83/xcX+iS8TQOlEMRUHbn lwIU7wqMwS6+1vTjLv/WODZNjVfSwJO6FFd/mVoQChQv6JSjuchQhUUdrRL6jv5esSoph5 rFhrXrhpmvuV5u4eEHzJ8YGJvpb2hCBOevROUEJjRs8dhxX+1QPEsBg3FwtLnXineuVbRt 2wBCFxc4XLq9BS8ryloklJRoNR5ti5JTTnhTiFkf7ZnrpW21FWuOrE6m7gCL5pjD43HYHk 34IIszW02wmq1xaZGbUgxuWyg5c4w05J7S79fL4GouD6y0UP+zw9oVTWjeEqcQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739808923; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mRDBsI5CpmpYcBoPvDteJBkPeAfhw3zr1SueAC8bSGE=; b=VPbRpABa/aV2uU1MOOvP9/WtM29WNTllQyB84eb/v6rOymrQwOYnUO45nUnLfEUuivovYz aBebIEChE6Njl/DjYTsd65/8kMwxgHrtQKgPD8uq9CIdiNz+/WzVY64Y1LuiUukxGCfbQT j3Dd+87MMCyWBjoIPQeYX8T/Zw5dCHbksvtbXDSJ+MjDp4CoQzfv5E6WlHXt8tAMZJEkqW xfc/4MIWMra8aQwVxvDfRsUsHWpAlOqVtXUCDKf1GFSnik6tgJuYYJO3nnHHq6e1ZncBk8 d+CrKyt45wUrzPJ4qEyA1n3vClFVhGq4MAmFuq9OFPzWvUZGwx9hA3WgUXbSGw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YxSRv0NFlzhG3 for ; Mon, 17 Feb 2025 16:15:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 51HGFMV9008526 for ; Mon, 17 Feb 2025 16:15:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 51HGFMRF008525 for bugs@FreeBSD.org; Mon, 17 Feb 2025 16:15:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 284864] sort does case-independent sort even without -f or --ignore-case Date: Mon, 17 Feb 2025 16:15:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: wbe@psr.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284864 --- Comment #1 from wbe@psr.com --- /usr/bin/sort, with no options, is doing a case-independent sort. Example: file foo containing: 1 Abcd 2 1 abcd 1 2 Abcd 1 2 abcd 2 with environment variables: LANG=3DC LC_CTYPE=3Diso_8859_1 MM_CHARSET=3DUTF-8 LC_ALL=3Den_US.ISO8859-1 LOCALE=3DC in case any of those matter, which I would think would sort exactly as is ('A' before 'a'), instead gets sorted case-independently: # sort foo 1 abcd 1 1 Abcd 2 2 Abcd 1 2 abcd 2 Unless I'm missing something, this looks wrong. --=20 You are receiving this mail because: You are the assignee for the bug.=