GNU bug report logs - #40633
Document / implement sorting via absolute value

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: coreutils; Reported by: 積丹尼 Dan Jacobson <jidanni@HIDDEN>; dated Wed, 15 Apr 2020 01:16:02 UTC; Maintainer for coreutils is bug-coreutils@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 15 Apr 2020 01:15:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 14 21:15:35 2020
Received: from localhost ([127.0.0.1]:35009 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jOWeN-0005Hb-7k
	for submit <at> debbugs.gnu.org; Tue, 14 Apr 2020 21:15:35 -0400
Received: from lists.gnu.org ([209.51.188.17]:33442)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jidanni@HIDDEN>) id 1jOWeL-0005HT-5f
 for submit <at> debbugs.gnu.org; Tue, 14 Apr 2020 21:15:33 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:33903)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <jidanni@HIDDEN>) id 1jOWeJ-0005hg-SQ
 for bug-coreutils@HIDDEN; Tue, 14 Apr 2020 21:15:33 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: *
X-Spam-Status: No, score=1.6 required=5.0 tests=BAYES_20,DATE_IN_PAST_03_06,
 RCVD_IN_DNSWL_NONE,URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <jidanni@HIDDEN>) id 1jOWeE-0003gL-3Q
 for bug-coreutils@HIDDEN; Tue, 14 Apr 2020 21:15:31 -0400
Received: from brown.elm.relay.mailchannels.net ([23.83.212.23]:11653)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <jidanni@HIDDEN>) id 1jOWeD-0003f7-H8
 for bug-coreutils@HIDDEN; Tue, 14 Apr 2020 21:15:26 -0400
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from relay.mailchannels.net (localhost [127.0.0.1])
 by relay.mailchannels.net (Postfix) with ESMTP id 59C77920B34
 for <bug-coreutils@HIDDEN>; Wed, 15 Apr 2020 01:15:22 +0000 (UTC)
Received: from pdx1-sub0-mail-a22.g.dreamhost.com
 (100-96-14-17.trex.outbound.svc.cluster.local [100.96.14.17])
 (Authenticated sender: dreamhost)
 by relay.mailchannels.net (Postfix) with ESMTPA id DDA34920B78
 for <bug-coreutils@HIDDEN>; Wed, 15 Apr 2020 01:15:21 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from pdx1-sub0-mail-a22.g.dreamhost.com (pop.dreamhost.com
 [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384)
 by 0.0.0.0:2500 (trex/5.18.6); Wed, 15 Apr 2020 01:15:22 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@HIDDEN
X-MailChannels-Auth-Id: dreamhost
X-Language-Illustrious: 22b5d41f315762f0_1586913322104_2147850063
X-MC-Loop-Signature: 1586913322104:2739407543
X-MC-Ingress-Time: 1586913322104
Received: from pdx1-sub0-mail-a22.g.dreamhost.com (localhost [127.0.0.1])
 by pdx1-sub0-mail-a22.g.dreamhost.com (Postfix) with ESMTP id 93E778EE76
 for <bug-coreutils@HIDDEN>; Tue, 14 Apr 2020 18:15:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to
 :subject:date:message-id:mime-version:content-type; s=
 jidanni.org; bh=F+pZ5UiiFTnR9P3ezswWnLmIxc0=; b=OHS6PKnTktSldKfu
 N6u/+BwS7xFxf9l1d/Uyc2Pe/VgHNyt7viupg1wvDDWeE4t22NWFlrx1d1gHWYp7
 VHz39L55tCFnucKar1cGZ1uZldEdKarHjzMW6SGqEqAMjynZougEe90aTypgq1EP
 My5upxcy9X1+nB3mxrreT02BSKQ=
Received: from jidanni.org (114-41-39-206.dynamic-ip.hinet.net [114.41.39.206])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 (Authenticated sender: jidanni@HIDDEN)
 by pdx1-sub0-mail-a22.g.dreamhost.com (Postfix) with ESMTPSA id BE1AC8F3C8
 for <bug-coreutils@HIDDEN>; Tue, 14 Apr 2020 18:15:20 -0700 (PDT)
X-DH-BACKEND: pdx1-sub0-mail-a22
From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
To: bug-coreutils@HIDDEN
Subject: Document / implement sorting via absolute value
Date: Wed, 15 Apr 2020 05:41:18 +0800
Message-ID: <87o8rtpwxt.5.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-VR-OUT-STATUS: OK
X-VR-OUT-SCORE: 0
X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduhedrfedvgdegudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesthdtredttddtjeenucfhrhhomhepnjjnnjcuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqnecukfhppeduudegrdeguddrfeelrddvtdeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepjhhiuggrnhhnihdrohhrghdpihhnvghtpeduudegrdeguddrfeelrddvtdeipdhrvghtuhhrnhdqphgrthhhpeeprehuthhfqdekreeureehiehmpfehnfhiheehsgevkeerpecuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqpdhmrghilhhfrhhomhepjhhiuggrnhhnihesjhhiuggrnhhnihdrohhrghdpnhhrtghpthhtohepsghughdqtghorhgvuhhtihhlshesghhnuhdrohhrgh
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-Received-From: 23.83.212.23
X-Spam-Score: 1.3 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  (info "(coreutils) sort invocation") should mention how to
 sort via absolute value, or add an option to do it. Currently one must use
 e.g., $ seq -2 2|perl -pe 's/^(-)(.*)/$2$1/;' | sort -n 0 1 1- 2 2 [...] 
 Content analysis details:   (1.3 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.0 URIBL_BLOCKED          ADMINISTRATOR NOTICE: The query to URIBL was
 blocked.  See
 http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
 for more information. [URIs: jidanni.org]
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/,
 low trust [209.51.188.17 listed in list.dnswl.org]
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 1.1 DATE_IN_PAST_03_06     Date: is 3 to 6 hours before Received: date
 0.9 SPF_FAIL               SPF: sender does not match SPF record (fail)
 [SPF failed: Please see http://www.openspf.org/Why?s=mfrom;
 id=jidanni%40jidanni.org; ip=209.51.188.17; r=debbugs.gnu.org]
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.3 (/)

(info "(coreutils) sort invocation")
should mention how to sort via absolute value,
or add an option to do it.
Currently one must use e.g.,
$ seq -2 2|perl -pe 's/^(-)(.*)/$2$1/;' | sort -n
0
1
1-
2
2-




Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-coreutils@HIDDEN. Full text available.
Report forwarded to bug-coreutils@HIDDEN:
bug#40633; Package coreutils. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 15 Apr 2020 01:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.