GNU bug report logs - #67543
mv -i e/a f/a g: asks bad

Previous Next

Package: coreutils;

Reported by: Dan Jacobson <jidanni <at> jidanni.org>

Date: Thu, 30 Nov 2023 08:15:01 UTC

Severity: normal

To reply to this bug, email your comments to 67543 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#67543; Package coreutils. (Thu, 30 Nov 2023 08:15:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Thu, 30 Nov 2023 08:15:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dan Jacobson <jidanni <at> jidanni.org>
To: bug-coreutils <at> gnu.org
Subject: mv -i e/a f/a g: asks bad
Date: Thu, 30 Nov 2023 16:13:47 +0800
Here the program should think ahead,
so that it won't ask a question that
it could already know the answer to.
$ mkdir e f g
$ touch e/a f/a
$ mv -i e/a f/a g
mv: overwrite 'g/a'? y
mv: will not overwrite just-created 'g/a' with 'f/a'

I'm not sure what it should do. Just don't have it ask things that will
turn out different that it could already know would happen.
mv (GNU coreutils) 9.4




This bug report was last modified 341 days ago.

Previous Next


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