Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!maverick.ksu.ksu.edu!ux1.cso.uiuc.edu!milo.mcs.anl.gov!midway!gargoyle!chinet!saj From: saj@chinet.chi.il.us (Stephen Jacobs) Newsgroups: comp.sys.atari.st Subject: Re: PATCH utility needed Summary: Watch the line terminators: ^J vs ^J^M Keywords: patch ST newline Message-ID: <1991Feb13.042250.26102@chinet.chi.il.us> Date: 13 Feb 91 04:22:50 GMT References: <1991Feb3.132030.6405@tertius.in-berlin.de> <4823@ruuinf.cs.ruu.nl> Organization: Chinet - Chicago Public Access UNIX Lines: 11 In article <4823@ruuinf.cs.ruu.nl> piet@cs.ruu.nl (Piet van Oostrum) writes: > >I have a patch.ttp on my atari but I had some problems with it. It didn't >accept some perfectly correct patches. I don't know where I got it. > I don't know if this is the problem, but the version of patch.ttp that I have is definitely sensitive to the difference between lines ending in ^J only (UNIX style) and those ending in ^J^M (most ST editors, and the desktop). I haven't characterized the EXACT behavior, but I get the best results by putting both main file and patch into UNIX style before applying the patch. Steve saj@chinet.chi.il.us