I'm not sure reverting would be best. It would introduce more
confusion, and would make coreutils incompatible with FreeBSD again.
Yes, it's not a good place to be. Surely current coreutils is better
than what Debian is doing.
Another possibility is to add a warning that is emitted only at the
end of 'cp'. The warning would occur only if the exit code differs
because of this cp -n business.
You've introduced a silent incompatibility and I'm trying to find some
way to make that clear. If upstream would provide a better solution I
would certainly use it. I have despaired of there being such since your >>attitude thus far seems to be entirely dismissive of compatibility >>concerns.
That's a bit unfair. The current upstream -n behavior is with a view
to being _more_ compat across all systems.
Now I agree this may not be worth it in this case,
but it is a laudable goal.
With the above in place for the next coreutils release,
then debian could remove its noisy patch.
Right, that's why I'm still leaning towards my proposal in the last mail.
 - revert to previous exit success -n behavior
 - document -n as deprecated
 - provide --update=noclobber to give exit failure functionality
   - BTW, it probably makes sense to print a diagnostic for each skipped file here
     as it's exceptional behavior, for which we're exiting with failure for.
 - the existing --update=none provides the exit success functionality
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 02:48:20 |
Calls: | 6,666 |
Calls today: | 4 |
Files: | 12,212 |
Messages: | 5,335,607 |