On Sat, 1 Aug 2020, Theo de Raadt wrote:

People should really use rsync (which has it's own oddities), ...

For example the ugly behaviour when the source file ends with / ?

Also FreeBSD's cp behave like rsync and is documented in its man page:

-R  If source_file designates a directory, cp copies the directory and
    the entire subtree connected at that point. If the source_file
    ends in a /, ...

It is not documented in 4.4BSD. I suppose this is not original BSD?

Rod.

Reply via email to