bug-coreutils
[Top][All Lists]
Advanced

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

bug#20849: documentation: difference between empty and non-empty dirs wi


From: Assaf Gordon
Subject: bug#20849: documentation: difference between empty and non-empty dirs with "mv --no-target-directory"
Date: Mon, 22 Oct 2018 20:29:36 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

close 20849
stop

(triaging old bugs)

On 27/06/15 09:30 PM, Pádraig Brady wrote:
On 19/06/15 11:23, Alexey Salmin wrote:
[....]
At the moment it explains "-T" as "Do not treat the last operand
specially when it is a directory or a symbolic link to a directory."
[1] This sort of contradicts the fact that an empty directory (A) is
treated specially compared to an empty file (C). And a difference
between (A) and (B) is not mentioned at all.


The wording is intended to cater for mv and cp etc.
cp doesn't care about empty dirs for example.
TBH I think the behavior is not surprising, and splitting
out the docs might only confuse things.
If you can come up with a concise patch we'll consider it.


With no further comments in 3 years, I'm closing this bug.
Discussion can continue by replying to this thread
(and patches are welcomed).

-assaf







reply via email to

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