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: 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...
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index