Re: cut -DF

2022-01-15 Thread Rob Landley
On 1/15/22 6:20 AM, Shehu Dikko wrote: > * Pádraig Brady [2022-01-15] [gmane.comp.gnu.coreutils.general]: >> On 15/01/2022 08:44, Shehu Dikko wrote: >>> [] >>> $ echo one two three four five six seven eight nine | cut -DF 1,5-$ >>> one five six seven eight nine >>> >>> Do please also add the

Re: Compilations warnings-as-errors when building from git

2022-01-15 Thread Bruno Haible
> > warning: unknown warning option '-Wno-unsuffixed-float-constants' > > [-Wunknown-warning-option] > > > > > > Which, I see was removed from gnulib in 2011, > > and reinstated just now in > > https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=0c8a563f65d44752b33aec42cceec25bd485f2d5 > >

Re: 'cp' now uses openat etc. when copying to directories

2022-01-15 Thread Bernhard Voelker
On 1/15/22 21:27, Paul Eggert wrote: > I installed commit f39a02a744ae97f6879ba1d20a528192772773e0 to try to fix the > bugs. Thanks, now the build incl. all tests pass here again. Have a nice day, Berny

Compilations warnings-as-errors when building from git

2022-01-15 Thread Paul Eggert
In Assaf Gordon writes: I'm getting few warnings-as-errors when building the latest version from git (using Debian 10 amd64 with gcc 8.3.0). I wouldn't worry about these. We typically don't bother to pacify older GCC versions as

Re: 'cp' now uses openat etc. when copying to directories

2022-01-15 Thread Paul Eggert
On 1/15/22 11:55, Bernhard Voelker wrote: yep, `make check-very-expensive` fails due to 3x segmentation faults: FAIL: tests/cp/cp-parents FAIL: tests/cp/parent-perm-race FAIL: tests/mv/hard-3 Yes, I think these were due to the fact that my initial tests used GCC with optimization

Re: coreutils installation error

2022-01-15 Thread Bernhard Voelker
This is a technical list where the replies are inline or at the bottom, i.e., no top-posting. On 1/14/22 18:01, Billa Surendra wrote: > On Fri, 14 Jan, 2022, 10:27 pm Bernhard Voelker, > wrote: >> Do you cross-compile? Does running 'src/cp --help' on that build host work? >> More context,

Re: 'cp' now uses openat etc. when copying to directories

2022-01-15 Thread Bernhard Voelker
On 1/13/22 21:03, Paul Eggert wrote: > I installed the attached so that GNU 'cp' now uses directory-relative > syscalls like 'openat', 'mkdirat' and 'chmodat' when the target is a > directory. The idea is to make it easier to modify 'cp' in the future so > that it can use xfts for recursive

Re: cut -DF

2022-01-15 Thread Shehu Dikko
* Pádraig Brady [2022-01-15] [gmane.comp.gnu.coreutils.general]: > On 15/01/2022 08:44, Shehu Dikko wrote: >> [] >> $ echo one two three four five six seven eight nine | cut -DF 1,5-$ >> one five six seven eight nine >> >> Do please also add the undocumented feature to cut. >> [..] > > Open

Re: cut -DF

2022-01-15 Thread Pádraig Brady
On 15/01/2022 08:44, Shehu Dikko wrote: * Rob Landley [2022-01-05] [gmane.comp.gnu.coreutils.general]: Around 5 years ago toybox added the -D, -F, and -O options to cut: -D Don't sort/collate selections or match -fF lines without delimiter -F Select fields separated by DELIM regex

bug#53262: chmod 9.0 failing, where 8.29 succeeds - but no error message

2022-01-15 Thread Pádraig Brady
On 15/01/2022 01:09, Paul Eggert wrote: Thanks for reporting that. This is a duplicate of bug#50784[1], which was fixed[2] in September. Perhaps we should generate a new Coreutils soon, since this bug has been reported three times now. [1]: https://bugs.gnu.org/50784 [2]:

Re: cut -DF

2022-01-15 Thread Shehu Dikko
* Rob Landley [2022-01-05] [gmane.comp.gnu.coreutils.general]: > Around 5 years ago toybox added the -D, -F, and -O options to cut: > > -D Don't sort/collate selections or match -fF lines without delimiter > -F Select fields separated by DELIM regex > -O Output delimiter (default