[prev in list] [next in list] [prev in thread] [next in thread]
List: fedora-test-list
Subject: Re: coreutils in Rawhide ~ behavior change to the -v option on cp?
From: David Cantrell <dcantrell () redhat ! com>
Date: 2023-04-24 17:19:54
Message-ID: 20230424171954.GM3516 () awvr ! bss ! redhat ! com
[Download RAW message or body]
On Mon, Apr 24, 2023 at 11:46:25AM +1000, Ian Laurie wrote:
> It looks to me like there has been a recent change to the verbose reporting
> option on the cp command.
>
> Previously (and still in Fedora 38) the -v option will report on files
> actually copied, but ignores files not copied (for example when -v is used
> with -u).
>
> However in Rawhide the -v option now reports on files skipped when used with
> -u, which has made a big mess of many of my bash scripts.
>
> Anyone know if there is some trick to reverting traditional behavior?
According to the NEWS file in coreutils-9.3, I see this:
** 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 as of coreutils 9.2.
Similarly 'cp -v' and 'mv -v' will output a message for each file skipped
due to -n, -i, or -u.
So it looks like behavior has changed.
--
David Cantrell <dcantrell@redhat.com>
Red Hat, Inc. | Boston, MA | EST5EDT
_______________________________________________
test mailing list -- test@lists.fedoraproject.org
To unsubscribe send an email to test-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/test@lists.fedoraproject.org
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic