[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.
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
> Date: Tue, 19 May 2009 02:59:30 +0000
> On Tue, May 19, 2009 at 12:05:01AM +0000, taca%back-street.net@localhost
> > 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
Main Index |
Thread Index |