delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
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 <soren_andersen AT fastmail DOT fm> |
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: | <Xns92CE825B5DBA4soren1Gmane@80.91.224.249> |
References: | <Pine DOT GSO DOT 4 DOT 44 DOT 0211191349120 DOT 4275-100000 AT slinky DOT cs DOT nyu DOT edu> <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 <parish AT ntlworld DOT com> 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |