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: Pádraig Brady
Subject: Re: cp -n: now exits yet without error message
Date: Sun, 9 Apr 2023 20:29:23 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Thunderbird/109.0

On 08/04/2023 17:21, Bernhard Voelker wrote:
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/

Fixed and pushed.

thanks,
Pádraig




reply via email to

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