Date: Sun, 16 Nov 1997 14:02:45 +0200 (IST) From: Eli Zaretskii To: George Foot cc: djgpp AT delorie DOT com Subject: Re: patch unexpected action In-Reply-To: <64eqq3$19j$1@news.ox.ac.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On 13 Nov 1997, George Foot wrote: > That stores instructions for how to change `c:\commo\commo.set' into > `c:\commo\beta\commo.set'. You seem to want the patch the other way > around -- try interchanging the filenames. I believe there's a switch > you can pass to patch, too, which applies the patch in reverse > (provided the patch file is suitable). `patch' automatically detects this situation and asks whether you meant to apply the diff in reverse. You can also tell it explicitly with -R switch.