Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ Path: not-for-mail From: Soren A Subject: Re: patch(1) (Win32) and path separators Date: Fri, 22 Nov 2002 17:46:53 +0000 (UTC) Organization: Occasionally Sporadically Lines: 35 Message-ID: References: <3DDA8DD9 DOT 1080608 AT ntlworld DOT com> NNTP-Posting-Host: ny-kenton2a-951.buf.adelphia.net X-Trace: main.gmane.org 1037987213 27353 24.51.95.183 (22 Nov 2002 17:46:53 GMT) X-Complaints-To: usenet AT main DOT gmane DOT org NNTP-Posting-Date: Fri, 22 Nov 2002 17:46:53 +0000 (UTC) User-Agent: Xnews/L5 X-Archive: encrypt Parish wrote around 19 Nov 2002 news:3DDA8DD9 DOT 1080608 AT ntlworld DOT com: >> Try 'patch -p0 --dry-run < filename'. > > That did it. Thanks Igor :-) > > I'd always assumed that without -p patch obeyed the path in the diff and > that -p was only needed if, for example, the path in the diff was > absolute and you needed a relative one. I didn't read all of the -p > section in the manpage because it didn't seem to be what I needed, but > /now/ I've read the last paragraph. I don't always use a tool like patch frequently enough to remember such subtleties, myself. This was a helpful exchange because I was struggling with this just yesterday. {snippo} > Thanks again for the help. Yes, thanks! > Regards, > > Parish (who's going to make 'patch' an alias for 'patch -p0' ;-) ) Me too ;-) Soren A -- Yes, it's really Sören, not Soren. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/