Re: RFC: cp -if a b: should it prompt? POSIX says `yes', most don't

From:

era+gmane

Subject:

Re: RFC: cp -if a b: should it prompt? POSIX says `yes', most don't

Date:

18 Feb 2004 13:23:12 +0200

User-agent:

Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

On Tue, 17 Feb 2004 18:57:27 +0100, Jim Meyering <address@hidden>
posted to gmane.comp.gnu.core-utils.bugs:
> address@hidden (Paul Jarc) wrote:
>> Jim Meyering <address@hidden> wrote:
>>> There is a discrepancy between POSIX and common practice
>>> with respect to how `cp -if a b' should work.
>> Someone probably ought to notify the POSIX folks about that and get a
>> clarification. Maybe they'll amend the spec to allow the existing
>> behavior.
> I've just done that.
Maybe this could be done with the wc -l behavior for when the last
line doesn't have a newline? Maybe I'm weird but I think the POSIX
behavior is clearly counterintuitive.
/* era */
--
formail -s procmail <http://www.iki.fi/era/spam/ >http://www.euro.cauce.org/
cat | more | cat<http://www.iki.fi/era/unix/award.html>http://www.debian.org/