From unknown Sat Jun 21 05:16:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22057: Sort missing feature proposed Resent-From: Saint Michael Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Sun, 29 Nov 2015 21:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22057 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 22057@debbugs.gnu.org X-Debbugs-Original-To: bug-coreutils@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.144883283531081 (code B ref -1); Sun, 29 Nov 2015 21:34:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Nov 2015 21:33:55 +0000 Received: from localhost ([127.0.0.1]:59860 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a39bW-00085F-Jq for submit@debbugs.gnu.org; Sun, 29 Nov 2015 16:33:54 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57679) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a39bD-00084m-1O for submit@debbugs.gnu.org; Sun, 29 Nov 2015 16:33:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a39bC-0007HZ-1Z for submit@debbugs.gnu.org; Sun, 29 Nov 2015 16:33:34 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:42683) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a39bB-0007HP-Uv for submit@debbugs.gnu.org; Sun, 29 Nov 2015 16:33:33 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39421) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a39bB-0005vj-8j for bug-coreutils@gnu.org; Sun, 29 Nov 2015 16:33:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a39bA-0007G2-HK for bug-coreutils@gnu.org; Sun, 29 Nov 2015 16:33:33 -0500 Received: from mail-yk0-x22d.google.com ([2607:f8b0:4002:c07::22d]:36603) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a39bA-0007FV-BD for bug-coreutils@gnu.org; Sun, 29 Nov 2015 16:33:32 -0500 Received: by ykdr82 with SMTP id r82so163621288ykd.3 for ; Sun, 29 Nov 2015 13:33:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=0Kyt670ItuEAFBTQPAae6OLAfX5xSFf8r0RRP8l7KnQ=; b=SjlVs4Cv2sB0/ji9qNVOe2I5tRspy/TvK9G8OeZqH6uQHjJmjkqiV5k5nn1DH54yp6 7If8X9nlf30UDx+CQx0xqvjNUGSd5pck5wsRwM0sIwB5TWfrvKup3LMGQv9mE0bTpqOl 69YXlNbHPt+VQ+dGPDsYEpysFGRghrvvp9V8mpqEf82ygVaS3ux+JSBAYK4ttIX0Hpm1 z/FnOnUMVnR/iFQxIRHRfeIk6rD3t7Fm7BxYwLFmn6x3B7wDhXnZR/Zos2SdkhSf5/xx JciIBhneRkvEurFWEXM/OIVj5Fby94rvFjo8rKDrUKQWcWjE9pvfBh15ytYmihXM3Jb+ +Ymg== MIME-Version: 1.0 X-Received: by 10.129.157.84 with SMTP id u81mr14821464ywg.123.1448832811758; Sun, 29 Nov 2015 13:33:31 -0800 (PST) Received: by 10.37.8.197 with HTTP; Sun, 29 Nov 2015 13:33:31 -0800 (PST) Date: Sun, 29 Nov 2015 16:33:31 -0500 Message-ID: From: Saint Michael Content-Type: multipart/alternative; boundary=94eb2c0b7ab2157ed00525b4adde X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --94eb2c0b7ab2157ed00525b4adde Content-Type: text/plain; charset=UTF-8 Dear GNU I suggest that we add a new flag to Sort, to skip certain number of lines from the sorting and copy them verbatim to the output, for example cat temp 10 8 1 2 3 4 5 > sort -z2 temp 10 8 5 4 3 2 1 In this example, the parameter "z" tell the app to ignore first two lines and copy them as is. naturally this can be done with a combination of Sort and Head, but it is obvious it should be part of the tool. Federico AlvesS --94eb2c0b7ab2157ed00525b4adde Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Dea= r GNU
I sug= gest that we add a new flag to Sort, to skip certain number of lines from t= he sorting and copy them verbatim to the output,

for example
cat temp
10
8
1
2
3
4
5
> sort -z2 temp
10
8
5
4
3
2
1
In this example, the parameter "z" tell the app to = ignore first two lines and copy them as is.
naturally this can be done with a combinat= ion of Sort and Head, but it is obvious it should be part of the tool.
<= /div>
Federico AlvesS=

=
--94eb2c0b7ab2157ed00525b4adde-- From unknown Sat Jun 21 05:16:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22057: Sort missing feature proposed Resent-From: Assaf Gordon Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Sun, 29 Nov 2015 22:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22057 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Saint Michael , 22057@debbugs.gnu.org Received: via spool by 22057-submit@debbugs.gnu.org id=B22057.14488370544764 (code B ref 22057); Sun, 29 Nov 2015 22:45:01 +0000 Received: (at 22057) by debbugs.gnu.org; 29 Nov 2015 22:44:14 +0000 Received: from localhost ([127.0.0.1]:59873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3AhZ-0001El-EI for submit@debbugs.gnu.org; Sun, 29 Nov 2015 17:44:13 -0500 Received: from mail-qk0-f180.google.com ([209.85.220.180]:34981) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3AhF-0001Dy-8C for 22057@debbugs.gnu.org; Sun, 29 Nov 2015 17:44:11 -0500 Received: by qkao63 with SMTP id o63so52777939qka.2 for <22057@debbugs.gnu.org>; Sun, 29 Nov 2015 14:43:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=G0qfSc+KdCoXmkhLubLYwUlW5bJ8xMz4HIf2PVE68V8=; b=sFIDpVQYQeGzkIdnAQNZaReRHK1xKRO+7vE6ngHNoLXtCid1EPytX4HVljQEa/DsRo NnFWR4NbxuTU/ScV1DvVjgfLj2HByqq/wsYcR+MIyCet9U66V2wZh7zJ8MFC2FwAw6JD BlnyJGt2mtujyRfO8HMznQwHiEZOtUkE2SZo/KWeGFkNgSOoS5kdTJtKHTU9WXk8zYGw mP0ekLAl85egDmRw09AnKX12LVdHb1glhIhdFACTP/4NiHt+UHSD7xDPYLUB9GCUw2Vv DvCxFJB2pWSrPR3CMIhI63Pl1CL5Dy+vAJ7myd9slX48tm3rmx8LKmvo8WfQs5sk47a+ 2oLQ== X-Received: by 10.55.77.203 with SMTP id a194mr69068704qkb.85.1448837032522; Sun, 29 Nov 2015 14:43:52 -0800 (PST) Received: from disco.erlich.nygenome.org ([69.74.14.178]) by smtp.googlemail.com with ESMTPSA id a5sm856412qga.19.2015.11.29.14.43.51 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 29 Nov 2015 14:43:51 -0800 (PST) References: From: Assaf Gordon Message-ID: <565B7FDA.3030309@gmail.com> Date: Sun, 29 Nov 2015 17:44:42 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) tag 22057 notabug close 22057 stop Hello Federico, On 11/29/2015 04:33 PM, Saint Michael wrote: > I suggest that we add a new flag to Sort, to skip certain number of lines from the sorting and copy them verbatim to the output, > This feature has been previously discussed, and the current thought is not to add this functionality to sort, as a combination of head/sed with sort are already sufficient to perform the task. Please see discussion at the current list of pendong Coreutils items: http://www.pixelbeat.org/patches/coreutils/inbox_dec_2014.html previous discussion here: http://lists.gnu.org/archive/html/coreutils/2014-11/msg00022.html and various examples of how to achieve the same using sed/head: http://lists.gnu.org/archive/html/coreutils/2013-01/msg00034.html regards, - assaf From unknown Sat Jun 21 05:16:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22057: Sort missing feature proposed Resent-From: =?UTF-8?Q?P=C3=A1draig?= Brady Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Mon, 30 Nov 2015 14:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22057 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Assaf Gordon , Saint Michael , 22057@debbugs.gnu.org Received: via spool by 22057-submit@debbugs.gnu.org id=B22057.14488952562735 (code B ref 22057); Mon, 30 Nov 2015 14:55:02 +0000 Received: (at 22057) by debbugs.gnu.org; 30 Nov 2015 14:54:16 +0000 Received: from localhost ([127.0.0.1]:60266 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3PqK-0000i3-0r for submit@debbugs.gnu.org; Mon, 30 Nov 2015 09:54:16 -0500 Received: from mail2.vodafone.ie ([213.233.128.44]:55324) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3PqI-0000hv-CA for 22057@debbugs.gnu.org; Mon, 30 Nov 2015 09:54:14 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AngUAC9iXFZda/wi/2dsb2JhbABegmlSHzRvgUqBF71BIYI+gmZHAQICgTFMAQEBAQEBgQuENQEBBBIRDwFWCw0LAgIFFgsCAgkDAgECAUUGAQwIAQEFGYgQAQifQIorhW2KRC2BAYRYhXmHdYFEBZZXjxOEQoMakypjhAQ+NAGFcAEBAQ Received: from unknown (HELO localhost.localdomain) ([93.107.252.34]) by mail2.vodafone.ie with ESMTP; 30 Nov 2015 14:54:13 +0000 References: <565B7FDA.3030309@gmail.com> From: =?UTF-8?Q?P=C3=A1draig?= Brady Message-ID: <565C6315.9080402@draigBrady.com> Date: Mon, 30 Nov 2015 14:54:13 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <565B7FDA.3030309@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) On 29/11/15 22:44, Assaf Gordon wrote: > tag 22057 notabug > close 22057 > stop > > Hello Federico, > > On 11/29/2015 04:33 PM, Saint Michael wrote: >> I suggest that we add a new flag to Sort, to skip certain number of lines from the sorting and copy them verbatim to the output, >> > > This feature has been previously discussed, and the current thought is not to add this functionality to sort, > as a combination of head/sed with sort are already sufficient to perform the task. > > Please see discussion at the current list of pendong Coreutils items: > http://www.pixelbeat.org/patches/coreutils/inbox_dec_2014.html BTW upon publishing each of those summaries, this page is updated: http://www.gnu.org/software/coreutils/rejected_requests.html#sort cheers, Pádraig From unknown Sat Jun 21 05:16:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22057: Sort missing feature proposed Resent-From: Saint Michael Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Mon, 30 Nov 2015 17:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22057 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: =?UTF-8?Q?P=C3=A1draig?= Brady Cc: Assaf Gordon , 22057@debbugs.gnu.org Received: via spool by 22057-submit@debbugs.gnu.org id=B22057.144890561926846 (code B ref 22057); Mon, 30 Nov 2015 17:47:01 +0000 Received: (at 22057) by debbugs.gnu.org; 30 Nov 2015 17:46:59 +0000 Received: from localhost ([127.0.0.1]:33128 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3SXT-0006yu-3K for submit@debbugs.gnu.org; Mon, 30 Nov 2015 12:46:59 -0500 Received: from mail-yk0-f170.google.com ([209.85.160.170]:34880) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3SXR-0006yn-UL for 22057@debbugs.gnu.org; Mon, 30 Nov 2015 12:46:58 -0500 Received: by ykba77 with SMTP id a77so192623445ykb.2 for <22057@debbugs.gnu.org>; Mon, 30 Nov 2015 09:46:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=J2sjWlwS+RVoZIt3BDgM11PrvcHA9IB7sxQewO7Vvc0=; b=zW2Bata+S3oAe8OgyStNMcyhNmEADuHQS1kZcQKTX5tH13tRu+WueEwLDp185ojXHh 94SiuE3cPihqvBZCS9X6xRGpofh+dBh1ZEJwhOy/IaK/r37uXyJsfQdEDQc1bR3vT5JU 54k+pbmR0IhVTklwtmLaahDBTVtqDYo/rUjHiZvCHhlIAELthF/fLUoBZEXcNYfQ/pxF n/ufcVWcY2bFxhTmrDUp30QioIBW92R4RQKUTaXVFq3VlBR/zUzG6r93O6aqwOkzdYvL yjSQf+cZEttYCyiIl2nuHNlQ3F/Ga/ZdnSK20h902cQVZee+NBO+F/cbPwkh8Ss1xbi1 NXCw== MIME-Version: 1.0 X-Received: by 10.129.157.84 with SMTP id u81mr19410000ywg.123.1448905617400; Mon, 30 Nov 2015 09:46:57 -0800 (PST) Received: by 10.37.8.197 with HTTP; Mon, 30 Nov 2015 09:46:57 -0800 (PST) In-Reply-To: <565C6315.9080402@draigBrady.com> References: <565B7FDA.3030309@gmail.com> <565C6315.9080402@draigBrady.com> Date: Mon, 30 Nov 2015 12:46:57 -0500 Message-ID: From: Saint Michael Content-Type: multipart/alternative; boundary=94eb2c0b7ab2a36e7c0525c5a0d7 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --94eb2c0b7ab2a36e7c0525c5a0d7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I think that we should go ahead and include the option, since many people find it very useful and sort of obvious. It makes no difference that the same effect can be achieved with "sed -u 1q" and sort, since this workaround it is far common common knowledge. This issue will keep resurfacing for the next 100 years, until it gets done, why don't we just go ahead and do it? On Mon, Nov 30, 2015 at 9:54 AM, P=C3=A1draig Brady wrot= e: > On 29/11/15 22:44, Assaf Gordon wrote: > > tag 22057 notabug > > close 22057 > > stop > > > > Hello Federico, > > > > On 11/29/2015 04:33 PM, Saint Michael wrote: > >> I suggest that we add a new flag to Sort, to skip certain number of > lines from the sorting and copy them verbatim to the output, > >> > > > > This feature has been previously discussed, and the current thought is > not to add this functionality to sort, > > as a combination of head/sed with sort are already sufficient to perfor= m > the task. > > > > Please see discussion at the current list of pendong Coreutils items: > > http://www.pixelbeat.org/patches/coreutils/inbox_dec_2014.html > > BTW upon publishing each of those summaries, this page is updated: > http://www.gnu.org/software/coreutils/rejected_requests.html#sort > > cheers, > P=C3=A1draig > --94eb2c0b7ab2a36e7c0525c5a0d7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I t= hink that we should go ahead and include the option, since many people find= it very useful and sort of obvious. It makes no difference that the same e= ffect can be achieved with "sed -u 1q" and sort, since this worka= round it is far common common knowledge. This issue will keep resurfacing= =C2=A0 for the next 100 years, until it gets done, why don't we just go= ahead and do it?


On Mon, Nov 30, 2015 at 9:54 AM, P=C3=A1draig Brady <P@= draigbrady.com> wrote:
On 29/11/15 22:44, Assaf Gordon wrote:
> tag 22057 notabug
> close 22057
> stop
>
> Hello Federico,
>
> On 11/29/2015 04:33 PM, Saint Michael wrote:
>> I suggest that we add a new flag to Sort, to skip certain number o= f lines from the sorting and copy them verbatim to the output,
>>
>
> This feature has been previously discussed, and the current thought is= not to add this functionality to sort,
> as a combination of head/sed with sort are already sufficient to perfo= rm the task.
>
> Please see discussion at the current list of pendong Coreutils items:<= br> >=C2=A0 =C2=A0 http://www.pixelbeat= .org/patches/coreutils/inbox_dec_2014.html

BTW upon publishing each of those summaries, this page is updated: http://www.gnu.org/software/coreuti= ls/rejected_requests.html#sort

cheers,
P=C3=A1draig

--94eb2c0b7ab2a36e7c0525c5a0d7-- From unknown Sat Jun 21 05:16:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22057: Sort missing feature proposed Resent-From: Bernhard Voelker Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Mon, 30 Nov 2015 20:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22057 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Saint Michael , =?UTF-8?Q?P=C3=A1draig?= Brady Cc: Assaf Gordon , 22057@debbugs.gnu.org Received: via spool by 22057-submit@debbugs.gnu.org id=B22057.144891382113557 (code B ref 22057); Mon, 30 Nov 2015 20:04:02 +0000 Received: (at 22057) by debbugs.gnu.org; 30 Nov 2015 20:03:41 +0000 Received: from localhost ([127.0.0.1]:33247 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3Ufk-0003Wa-FV for submit@debbugs.gnu.org; Mon, 30 Nov 2015 15:03:40 -0500 Received: from mout.kundenserver.de ([212.227.17.10]:52484) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3Ufj-0003WS-25 for 22057@debbugs.gnu.org; Mon, 30 Nov 2015 15:03:39 -0500 Received: from [192.168.101.10] ([84.175.82.53]) by mrelayeu.kundenserver.de (mreue103) with ESMTPSA (Nemesis) id 0MUTsx-1ZvYCy2cFv-00RKKs; Mon, 30 Nov 2015 21:03:35 +0100 References: <565B7FDA.3030309@gmail.com> <565C6315.9080402@draigBrady.com> From: Bernhard Voelker Message-ID: <565CAB96.8030602@bernhard-voelker.de> Date: Mon, 30 Nov 2015 21:03:34 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:8ALgwD/aG9WGPSRXoFRB3bSx+tfR3g8zgO8++maM1+Idw0eF2rM 5DP8DTdX0X6ZyvzrT1u9d43P9fYjTfK1RbEKuO3QOUP66fmRIOl1zn8eumNS06BsUg1iASR yt6ZrB01og8IeWpLedNrngUrR5VuUau5F35Tx85MBHTJCN8Jcxqu2NYWChnQsz4a21GPnT1 t5Mi3j5HDnopPo++R1v/g== X-UI-Out-Filterresults: notjunk:1;V01:K0:vTGuKz4ak/A=:koJLzpVEpe/MMh6ueAuwzR wGRCZmrBev+KRWgSsiwDgXs8Q0YsFXwL40rqJKZFPJi/fntp2sZtFSX/eA5GG0F2AtCCm5qFN kPGxPKQTpuaNW96J6iWCrdfNWxI/W3irxpCXPEK+FyEBD0nhhdgmOK64akfuyB7VJ1p+40hYh 6wEuxw5QS16ytJXxIja1dy3aeZTUrPTokKTUB0ETbqjAbhmU9CgGAp5zo4E6tZj3/zgCUjW0P JO8gFvhF9L4lYWwyqLWYyiQRWdetHNNeCtFVo6fCVuQFADKb6E2vIu5TOptkVeHDr+ZiTTnMH 6IQewx9yCQHUMZMdhzFblDpYMREvrVje6avVUtYMtSsY+w4o7edPcSXaOFw7ry7ry3Fx7Muq1 mLABXdjO36GoAmQweS01OsEGNAAzXrjQWY/15qsjndkzb/vbF9ooMNSpv5UEVqsvVVaJqUXRw ZS23DjZkzx2G9pTTQZ5QJ683AUAbBeDuwSsT6W+D1zm0HDtJb9dFQ4jpYXaF1ETz1IOZ4kL9E 4aYPhbh+p9KCPBiWd8uXUGHqTcblJ7BMQJPG09ajBcGCyGXmNtlFR+9W0GgOHSA9McVHrCwN+ 2vZGnINaGArU+U8cUd+8JmCqRIocg5XqjoNLlKqfoB+A94DPt5E+La29CvFsGz26c7grSBrk/ gvyrsWLpcbjhfTOFW6ceszF46gzRXhh/Z/8IfUfGa/NUUji20UQm+sPLEvQr2ETA3jNyiyfyG taPZ74DlznzTBWdt X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 11/30/2015 06:46 PM, Saint Michael wrote: > why don't we just go ahead and do it? not everything which can be done makes sense to do, and even less if the functionality is already there. Comparison: someone is always going to his favourite Italian restaurant for its tasty pizza and pasta. Someone else tells the cook "hey, you got a nice kitchen - why don't you also make steaks?". And then the restaurant has steaks, and burgers, and a lot more, too. Yes, there is nothing wrong until now, but then the first person comes back ... and has to wonder why the great pizza and the fabulous pasta do taste like old shoes. Thus said, we are of course not opposed to improve things in coreutils, but we hate to potentially make things worse for the other users - even in future. The problem is, the restaurant from the example above can easily decide to go back and print a new menue just the other day with all the superb dishes - while we have to care about compatibility. Have a nice day, Berny From unknown Sat Jun 21 05:16:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22057: Sort missing feature proposed Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Tue, 01 Dec 2015 02:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22057 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 22057@debbugs.gnu.org X-Debbugs-Original-To: bug-coreutils@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.144893617922414 (code B ref -1); Tue, 01 Dec 2015 02:17:01 +0000 Received: (at submit) by debbugs.gnu.org; 1 Dec 2015 02:16:19 +0000 Received: from localhost ([127.0.0.1]:33475 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3aUN-0005pS-40 for submit@debbugs.gnu.org; Mon, 30 Nov 2015 21:16:19 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46903) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3aU3-0005o8-4k for submit@debbugs.gnu.org; Mon, 30 Nov 2015 21:16:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a3aTx-0000ru-4c for submit@debbugs.gnu.org; Mon, 30 Nov 2015 21:15:53 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:42597) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3aTx-0000rq-1X for submit@debbugs.gnu.org; Mon, 30 Nov 2015 21:15:53 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56892) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3aTw-0001ZJ-9B for bug-coreutils@gnu.org; Mon, 30 Nov 2015 21:15:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a3aTr-0000r0-AQ for bug-coreutils@gnu.org; Mon, 30 Nov 2015 21:15:52 -0500 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:46108) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3aTr-0000qw-4W for bug-coreutils@gnu.org; Mon, 30 Nov 2015 21:15:47 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 0967D16099B for ; Mon, 30 Nov 2015 18:15:46 -0800 (PST) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id f-HzjoM-dSOl for ; Mon, 30 Nov 2015 18:15:45 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 5D26F160998 for ; Mon, 30 Nov 2015 18:15:45 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id fTSAeIExA9wp for ; Mon, 30 Nov 2015 18:15:45 -0800 (PST) Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 43081160707 for ; Mon, 30 Nov 2015 18:15:45 -0800 (PST) References: <565B7FDA.3030309@gmail.com> <565C6315.9080402@draigBrady.com> From: Paul Eggert Organization: UCLA Computer Science Department Message-ID: <565D02CA.4070801@cs.ucla.edu> Date: Mon, 30 Nov 2015 18:15:38 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Saint Michael wrote: > This issue will keep > resurfacing for the next 100 years No, no, let's be optimistic! Let's shoot for 10,000 years. From unknown Sat Jun 21 05:16:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22057: Sort missing feature proposed Resent-From: Assaf Gordon Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Tue, 01 Dec 2015 14:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22057 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Saint Michael Cc: 22057@debbugs.gnu.org, =?UTF-8?Q?P=C3=A1draig?= Brady , Bernhard Voelker Received: via spool by 22057-submit@debbugs.gnu.org id=B22057.144898081332248 (code B ref 22057); Tue, 01 Dec 2015 14:41:02 +0000 Received: (at 22057) by debbugs.gnu.org; 1 Dec 2015 14:40:13 +0000 Received: from localhost ([127.0.0.1]:33903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3m6F-0008O3-LQ for submit@debbugs.gnu.org; Tue, 01 Dec 2015 09:40:12 -0500 Received: from mail-qg0-f52.google.com ([209.85.192.52]:36501) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3m5s-0008N3-68 for 22057@debbugs.gnu.org; Tue, 01 Dec 2015 09:40:07 -0500 Received: by qgcc31 with SMTP id c31so6126360qgc.3 for <22057@debbugs.gnu.org>; Tue, 01 Dec 2015 06:39:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=xPTfWnDdNh7xL1+rHmIw10D+PT1O9nFSYSe8xn/vK5w=; b=BS0rB+29g8xhrrzE+3kbG1EGj22BD/FrksTa43PtX8pRLgGUh+k4QbI9ltQpWQ5HXH g6fZg911JZtCByKG6Yr1S8BnQMIywSmg2kMZhM9sRbcSDhkzSZ1ragJ9Jb57dkgmr+QG l2yAN3wpCqqHO10EWyaCHYsnzG50GsLoXsKNeorvnNyamdw42srHePMg6tDQePWmlerM sVKMdYNkaoyLwPTkks59Dcz2+xYmw8/CgCnzfSRiEyBrwm9ROPdeJaD1Y7o23MHuiviB sifgwLUvE3WYRmYRX5UI+kvfyZrMbCunGDtBsc746bqB/VqGX5vQR3wHFGNdlbPXApYW XZgg== X-Received: by 10.140.231.213 with SMTP id b204mr88887037qhc.63.1448980787581; Tue, 01 Dec 2015 06:39:47 -0800 (PST) Received: from [172.31.98.103] (rrcs-24-105-137-227.nyc.biz.rr.com. [24.105.137.227]) by smtp.gmail.com with ESMTPSA id h11sm13249811qge.43.2015.12.01.06.39.46 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 01 Dec 2015 06:39:47 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) From: Assaf Gordon In-Reply-To: <565CAB96.8030602@bernhard-voelker.de> Date: Tue, 1 Dec 2015 09:39:45 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: <565B7FDA.3030309@gmail.com> <565C6315.9080402@draigBrady.com> <565CAB96.8030602@bernhard-voelker.de> X-Mailer: Apple Mail (2.2102) X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hello, > On Nov 30, 2015, at 15:03, Bernhard Voelker = wrote: >=20 > On 11/30/2015 06:46 PM, Saint Michael wrote: >> why don't we just go ahead and do it? >=20 > not everything which can be done makes sense to do, and even > less if the functionality is already there. Continuing Bernhard's point, just "going ahead and doing it" is easier said than done - at 141KB of C = code, "sort.c" is a complicated program. There are many edge-cases that = need to be handled properly, and several non-trivial usage cases. That being said, a working high-quality patch is worth a thousands = words, and if you (or others) implement such a feature, it will make a = stronger case for inclusion. If you do intend to pursue this course, here are some pointers: This is a sort source code: http://git.savannah.gnu.org/cgit/coreutils.git/tree/src/sort.c Or in a slightly more informative source-code viewer: http://lingrok.org/xref/coreutils/src/sort.c There have been few past attempts at such patches (myself included): http://lists.gnu.org/archive/html/coreutils/2010-11/msg00078.html http://lists.gnu.org/archive/html/coreutils/2010-11/msg00085.html http://lists.gnu.org/archive/html/coreutils/2013-01/msg00027.html A different approach is writing wrapper-scripts adding the "--header" = option (disclaimer: this one is mine, but there are many other variations out = there): = https://github.com/agordon/bin_scripts/blob/master/scripts/sort-header.in regards, - assaf From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 24 17:29:03 2018 Received: (at control) by debbugs.gnu.org; 24 Oct 2018 21:29:03 +0000 Received: from localhost ([127.0.0.1]:40786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gFQi7-0006pS-4R for submit@debbugs.gnu.org; Wed, 24 Oct 2018 17:29:03 -0400 Received: from mail-pf1-f176.google.com ([209.85.210.176]:46929) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gFQi5-0006oy-CC for control@debbugs.gnu.org; Wed, 24 Oct 2018 17:29:01 -0400 Received: by mail-pf1-f176.google.com with SMTP id r64-v6so3057107pfb.13 for ; Wed, 24 Oct 2018 14:29:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:message-id:date:user-agent:mime-version:content-language :content-transfer-encoding; bh=DJwh4APNOLb367elSGK0N/s2CjrxLiJCZ09K/XDyAp4=; b=UO43eVPFl9Q5zk7Pare8eS4IQxsvqakrXq95u/+3GcuFjDUwWQZVbByyEM6mL+rdqw eSHtC3gkqrvuTgcP+lb4uJeo6xwzMBgM1NKav18MEGXGi2dpGUmaYy77fN/aCQWrdboI KRyrwiDrioGVgoPVTK79FIv89izsv4bUJJuZrm5scyYgQeN7xkDxv2nxSw95UG7DMDXZ tRGHe0XlEBJ6/ru8EtERWP6mypBPmn5azu19nJhQpIGLe7uKdezVAP8cIxq0D89ehtH0 myC8BGxauI7NE8+Hm7K25S6/uh/Z5nSGCXLo+RmULvMIO6ayuAPvSHKpyQTrpBS37sll 4F8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=DJwh4APNOLb367elSGK0N/s2CjrxLiJCZ09K/XDyAp4=; b=kf18UwGBdpXaMT0f14ndURbA198Jj8tsWYFw1Z4m8h37iABkRd4UdFHjMGF23v0UvA SkeCe0jGKmf8q8Cy4fS12IDKX0OnWoBF8QUMPbcHycwz9DZJX4UDsnerfCx9Hi5IM4wS Fz8Xx6gJuzDqMGQXTDwNGitpYR1vcJNEOQeSJXKsr5surfaGiPre187lBYWKjr3BPOdL /15oRmONeLLGhwuwqMbvBvaA1wM5921Sc+RW5HWYN0ukVwfCBEPKWA1bFp+YYkog1lsK DAY6rGKyTmD08KeUH+1ZNVC+122bTtaJkZ8/ECITppU8pQJkcsUPG+fQ12GZu7u1s1Wp DyOQ== X-Gm-Message-State: AGRZ1gKXvI/qzzkKdG26cNPCaH4A98YmCtWs1TTjk1FJK+uzybMz4Exp EuhDywrH2wEYoutEswjAJ4ROZGkOGFw= X-Google-Smtp-Source: AJdET5fmtL8IbocQ1J6RBNi+4GkD3+z3GAIma3fbkZ+MxVQ2G9Nyx5aUlGhHBnevNphxiSjkMH+B4g== X-Received: by 2002:a63:525e:: with SMTP id s30-v6mr4054233pgl.436.1540416535166; Wed, 24 Oct 2018 14:28:55 -0700 (PDT) Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id a16-v6sm11134075pgb.6.2018.10.24.14.28.53 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Oct 2018 14:28:53 -0700 (PDT) To: control@debbugs.gnu.org From: Assaf Gordon Message-ID: <1d9d9164-420f-3b6d-2e27-e96d264525aa@gmail.com> Date: Wed, 24 Oct 2018 15:28:52 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 2.0 (++) 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: severity 22057 wishlist tags 22057 wontfix close 22057 [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.210.176 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (assafgordon[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.210.176 listed in wl.mailspike.net] 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) severity 22057 wishlist tags 22057 wontfix close 22057