GNU bug report logs - #69532
mv's new -x option should be made orthogonal to -t/-T/default

Previous Next

Package: coreutils;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Mon, 4 Mar 2024 00:46:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Bernhard Voelker <mail <at> bernhard-voelker.de>
To: Paul Eggert <eggert <at> cs.ucla.edu>, Pádraig Brady <P <at> draigBrady.com>
Cc: Petr Malat <oss <at> malat.biz>, util-linux <util-linux <at> vger.kernel.org>, Dominique Martinet <asmadeus <at> codewreck.org>, 69532 <at> debbugs.gnu.org, Karel Zak <kzak <at> redhat.com>, Rob Landley <rob <at> landley.net>
Subject: bug#69532: mv's new -x option should be made orthogonal to -t/-T/default
Date: Sat, 23 Mar 2024 11:24:15 +0100
On 3/23/24 02:44, Paul Eggert wrote:
> I installed the attached patches to do the above. (Basically, the
> problem was that my earlier patches were too ambitious; these patches
> scale things back to avoid some optimizations so that mv --exchange is
> more like ordinary mv.)
>
> The first patch simplifies the code (and fixes a diagnostic to be more
> useful) without otherwise changing behavior; it's more of a refactoring.
> The second patch does the real work.

Thanks.

We should put adding more tests on our TODO list still.

Have a nice day,
Berny




This bug report was last modified 1 year and 152 days ago.

Previous Next


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