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

bug#65331: tests/df/skip-rootfs.sh fails on WSL2

2023-08-15 Thread mytec
Hi, On Windows WSL2 (1.2.5.0) running Ubuntu 22.04.3 LTS one test failed. I downloaded a source release (coreutils-9.3) and did: ./configure, make, make check. Testsuite summary for GNU coreutils 9.3

bug#65255: uptime's boot time is inconsistent after VM sleep & resume

2023-08-15 Thread Paul Eggert
On 2023-08-15 14:23, Bruno Haible wrote: The other patch I mentioned, from https://lists.gnu.org/archive/html/coreutils/2023-08/msg00028.html , is also needed, for the "VM saved/sleep" change on NetBSD, OpenBSD, Minix, as far as I understand. Also, a typo in NEWS: s/Minux/Minix/ Thanks, I

bug#65269: Possible null pointer dereference on the function cycle_check in rm

2023-08-15 Thread Paul Eggert
On 2023-08-14 00:05, Haoxin Tu wrote: if the function `fts_read` get a return value of NULL and the malloc from `fts->fts_cycle.state = malloc (sizeof *fts->fts_cycle.state)` (Line 62 in fts_cycle.c) is NULL, the pointer `fts->fts_cycle.state` will still keep 0 before the free operation `free

bug#65310: test failure on Alpine Linux: tests/sort/sort-debug-keys

2023-08-15 Thread Bruno Haible
Pádraig Brady wrote: > The fact that ',' isn't used as the decimal point is surprising, > and is what's causing the test to fail. Ah, I see. Yes, for some tests one only needs a fr_FR.UTF-8 that supports UTF-8 in LC_CTYPE, whereas for other tests it also needs to support the LC_NUMERIC category

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:

bug#65255: uptime's boot time is inconsistent after VM sleep & resume

2023-08-15 Thread Bruno Haible
Paul Eggert wrote: > Thanks for the further comments. I installed your patch, along with the > attached additional patches. The other patch I mentioned, from https://lists.gnu.org/archive/html/coreutils/2023-08/msg00028.html , is also needed, for the "VM saved/sleep" change on NetBSD, OpenBSD,

bug#65255: uptime's boot time is inconsistent after VM sleep & resume

2023-08-15 Thread Paul Eggert
Thanks for the further comments. I installed your patch, along with the attached additional patches. The first makes 'uptime' a bit more resilient in the case of utmp and other failures, and the second adds NEWS items as per your comments.From 1ea34cbf6a235f2436a3265ab9ded6f04748051e Mon Sep 17

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

bug#65310: test failure on Alpine Linux: tests/sort/sort-debug-keys

2023-08-15 Thread Pádraig Brady
On 15/08/2023 14:14, Bruno Haible wrote: Hi, Doing "make check" of current coreutils on Alpine Linux 3.18, I see a test failure that I didn't see with the coreutils-9.3 release: FAIL: tests/sort/sort-debug-keys I'm attaching the relevant part of tests/test-suite.log. In the log we have:

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: [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: 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

bug#65310: test failure on Alpine Linux: tests/sort/sort-debug-keys

2023-08-15 Thread Bruno Haible
Hi, Doing "make check" of current coreutils on Alpine Linux 3.18, I see a test failure that I didn't see with the coreutils-9.3 release: FAIL: tests/sort/sort-debug-keys I'm attaching the relevant part of tests/test-suite.log. Bruno ==

bug#65255: uptime's boot time is inconsistent after VM sleep & resume

2023-08-15 Thread Bruno Haible
I wrote: > > I'll provide a NEWS > > entry afterwards, that summarizes the changes in coreutils + gnulib on the > > various platforms. > Paul Eggert wrote: > Thanks, this looks good. A NEWS entry would be welcome. Actually, it's 4 entries: * The 'uptime' program is now being built on FreeBSD,

[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

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:

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]...

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

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

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

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: [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