bug#34988: mv: check before asking users useless questions
> "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
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.