coreutils
[Top][All Lists]
Advanced

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

Re: cp -n: now exits yet without error message


From: Bernhard Voelker
Subject: Re: cp -n: now exits yet without error message
Date: Sat, 8 Apr 2023 18:21:22 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0

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/

Have a nice day,
Berny



reply via email to

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