Re: [sort] Suggestion: count keys from the end of record

2023-08-15 Thread Pádraig Brady
On 14/08/2023 22:38, Rob Landley wrote: On 8/14/23 01:56, Renaud Pacalet wrote: On 13/08/2023 17:09, Pádraig Brady wrote: On 13/08/2023 15:40, Renaud Pacalet wrote: I am a bit surprised that it has never been suggested before but I could not find any trace of it, so here it is: Would it be

Re: [sort] Suggestion: count keys from the end of record

2023-08-15 Thread Budi
so many did and hoped, the most recent: https://stackoverflow.com/questions/76892900/sort-text-page-based-on-5th-column-out-of-6-columns-being-troubled-with-as-the

Re: [PATCH 4/4] cut: Optionally treat multiple consecutive delimiters as one

2023-08-15 Thread Dragan Simic
On 2023-08-10 17:05, Dragan Simic wrote: On 2023-08-01 20:37, Dragan Simic wrote: On 2023-08-01 16:42, Pádraig Brady wrote: On 01/08/2023 10:07, Dragan Simic wrote: Add new command-line option and the required logic that allow multiple consecutive delimiters to be treated as a single delimiter

Re: Probing suitability for two features: add incremental integer suffix; print created temp file/dir to stderr

2023-08-15 Thread Markus Läll
Right, I guess for the "numbered tempfile" idea, the thing that I actually want is to maintain creation order and that can also be achieved with `ls -t`. Regarding duplicating tempfile's name to stderr, I do agree that it's easily recreated in bash. The main issue with it is that written out inlin

Re: [PATCH 4/4] cut: Optionally treat multiple consecutive delimiters as one

2023-08-15 Thread Pádraig Brady
On 15/08/2023 11:22, Dragan Simic wrote: On 2023-08-10 17:05, Dragan Simic wrote: On 2023-08-01 20:37, Dragan Simic wrote: On 2023-08-01 16:42, Pádraig Brady wrote: On 01/08/2023 10:07, Dragan Simic wrote: Add new command-line option and the required logic that allow multiple consecutive deli

Re: Date documentation

2023-08-15 Thread Bernhard Voelker
On 7/15/23 00:35, Michael Partridge via GNU coreutils General Discussion wrote: Could you add the following to the example to the man page: ```txt Show the current date and time using a custom format $ date "+%Y-%m-%d %H:%M" ``` IMO this is already explained: date [OPTION]... [+FORM

Re: mv command usability: rename file and create dest dir

2023-08-15 Thread Bernhard Voelker
On 8/12/23 14:05, Sergey Ponomarev wrote: For sure it would be good to add mention of the install into man cp "SEE ALSO". Good idea. Patch attached ... pushing soon. Have a nice day, BernyFrom d428096a6ade1acfc6537ab5f138ef1a3531a0fc Mon Sep 17 00:00:00 2001 From: Bernhard Voelker Date: Tue,

[PATCH] maint: fix typo in NEWS

2023-08-15 Thread Bernhard Voelker
Sorry, somehow my `git send-email` is broken currently, so I have to attach even this trivial patch. Have a nice day, BernyFrom 0cb8332196d3c727f540de407228ecb910e12e25 Mon Sep 17 00:00:00 2001 From: Bernhard Voelker Date: Tue, 15 Aug 2023 13:35:13 +0200 Subject: [PATCH] maint: fix typo in NEWS

Re: mv command usability: rename file and create dest dir

2023-08-15 Thread Pádraig Brady
On 15/08/2023 13:09, Bernhard Voelker wrote: On 8/12/23 14:05, Sergey Ponomarev wrote: For sure it would be good to add mention of the install into man cp "SEE ALSO". Good idea. Patch attached ... pushing soon. Have a nice day, Berny +1 thanks

Re: [PATCH] maint: fix typo in NEWS

2023-08-15 Thread Pádraig Brady
On 15/08/2023 13:12, Bernhard Voelker wrote: Sorry, somehow my `git send-email` is broken currently, so I have to attach even this trivial patch. Have a nice day, Berny +1 thanks

Re: [PATCH] maint: fix typo in NEWS

2023-08-15 Thread Bernhard Voelker
On 8/15/23 17:19, Pádraig Brady wrote: +1 thanks, pushed.

Re: mv command usability: rename file and create dest dir

2023-08-15 Thread Bernhard Voelker
On 8/15/23 17:18, Pádraig Brady wrote: +1 thanks, pushed.

Re: Date documentation

2023-08-15 Thread Michael Partridge via GNU coreutils General Discussion
Thank you for your response, Berny. It does not specify whether or not the `+` goes outside the double quotes or not. I understand the goal of conciseness, but not at the expense of useful examples. You could change the example to: date "+%T" if you'd like. The point is, no example shows

Re: [sort] Suggestion: count keys from the end of record

2023-08-15 Thread Rob Landley
On 8/15/23 05:08, Budi wrote: > so many did and hoped, the most recent: > > https://stackoverflow.com/questions/76892900/sort-text-page-based-on-5th-column-out-of-6-columns-being-troubled-with-as-the I implemented negative keys and came up with some basic tests for them: https://github.com/landl

Re: [PATCH 4/4] cut: Optionally treat multiple consecutive delimiters as one

2023-08-15 Thread Dragan Simic
On 2023-08-15 13:31, Pádraig Brady wrote: On 15/08/2023 11:22, Dragan Simic wrote: On 2023-08-10 17:05, Dragan Simic wrote: On 2023-08-01 20:37, Dragan Simic wrote: On 2023-08-01 16:42, Pádraig Brady wrote: On 01/08/2023 10:07, Dragan Simic wrote: Add new command-line option and the required

Re: [PATCH 4/4] cut: Optionally treat multiple consecutive delimiters as one

2023-08-15 Thread Rob Landley
On 8/15/23 06:31, Pádraig Brady wrote: > On 15/08/2023 11:22, Dragan Simic wrote: >> On 2023-08-10 17:05, Dragan Simic wrote: >>> On 2023-08-01 20:37, Dragan Simic wrote: On 2023-08-01 16:42, Pádraig Brady wrote: > On 01/08/2023 10:07, Dragan Simic wrote: >> Add new command-line opt