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

2019-03-28 Thread Assaf Gordon
tags 34988 notabug severity 34988 wishlist retitle 34988 mv: omit useless 'overwrite?' question stop On 2019-03-25 4:47 p.m., Paul Eggert wrote: 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

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

2019-03-25 Thread 積丹尼 Dan Jacobson
> "LSS" == Leslie S Satenstein writes: LSS> Did you consider that more than one terminal can be open, and at the LSS> second terminal, "b" could be renamed before replying to the mv LSS> command? I don't know about all that. Let's hope the designers consider all aspects.

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

2019-03-25 Thread Paul Eggert
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