bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#34988: mv: check before asking users useless questions


From: Paul Eggert
Subject: bug#34988: mv: check before asking users useless questions
Date: Mon, 25 Mar 2019 15:47:05 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.0

On 3/24/19 11:05 PM, 積丹尼 Dan Jacobson wrote:
> $ mv a b
> mv: overwrite 'b'? y
> mv: cannot overwrite non-directory 'b' with directory 'a'
>
> User thinks well why didn't you check before uselessly asking me?

POSIX requires the useless question. That being said, the question could
be omitted in the case you describe, if POSIXLY_CORRECT is not specified.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]