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.