On 4/7/23 11:39, Pádraig Brady wrote:
In that thread I did suggest a diagnostic would be appropriate here.
Thinking more about it I'm more convinced we should diagnose here
especially as we're changing long standing behavior of --no-clobber.
The attached outputs new "skipped" errors with --no-clobber,
and similar "skipped" messages with --verbose.
I like it, thanks!
Nit:
> +** Changes in behavior
> +
> + 'cp -n' and 'mv -n' now issue an error diagnostic if skipping a file,
> + to correspond with -n inducing a nonzero exit status since coreutils 9.1.
s/9.1/9.2/