Closed matrixhead closed 3 weeks ago
When a source directory is specified more than once, the error message should clearly indicate that it’s a directory, not a file.
Example:
mkdir b; mkdir d; cp -r b b d/
GNU’s cp produces the following message:
cp
warning: source directory 'b' specified more than once
Whereas uu-cp outputs:
uu-cp
warning: source file 'b' specified more than once
Fixed by https://github.com/uutils/coreutils/pull/6825
When a source directory is specified more than once, the error message should clearly indicate that it’s a directory, not a file.
Example:
GNU’s
cp
produces the following message:Whereas
uu-cp
outputs: