NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/41457: patch(1) -p option dosen't allow to omit numeric argument.
The following reply was made to PR bin/41457; it has been noted by GNATS.
From: Manuel Bouyer <bouyer%antioche.eu.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: gnats-admin%NetBSD.org@localhost, netbsd-bugs%NetBSD.org@localhost,
taca%back-street.net@localhost
Subject: Re: bin/41457: patch(1) -p option dosen't allow to omit numeric
argument.
Date: Tue, 19 May 2009 21:10:12 +0200
On Tue, May 19, 2009 at 03:00:17AM +0000, David Holland wrote:
> The following reply was made to PR bin/41457; it has been noted by GNATS.
>
> From: David Holland <dholland-bugs%netbsd.org@localhost>
> To: taca%back-street.net@localhost
> Cc: gnats-bugs%netbsd.org@localhost
> Subject: Re: bin/41457: patch(1) -p option dosen't allow to omit numeric
> argument.
> Date: Tue, 19 May 2009 02:59:30 +0000
>
> On Tue, May 19, 2009 at 12:05:01AM +0000, taca%back-street.net@localhost
> wrote:
> > On NetBSD 4, patch(1)'s allows -p option without numeric argument.
>
> IMO, options should either always take or always not take arguments.
> Otherwise the behavior is ambiguous. So it seems to me that NetBSD 4's
> patch should be adjusted to remove this misfeature...
FWIW, gnu patch always require a numeric argument to -p
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index