Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!mcvax!hafro!askja!keilir!malcolm From: malcolm@keilir.UUCP (Malcolm Cohen) Newsgroups: comp.sources.d Subject: Re: Problems with Nethack Patch #1 on Sys V Message-ID: <284@keilir.UUCP> Date: Tue, 25-Aug-87 18:49:43 EDT Article-I.D.: keilir.284 Posted: Tue Aug 25 18:49:43 1987 Date-Received: Fri, 28-Aug-87 06:23:56 EDT References: <270@kosman.UUCP> <26313@sun.uucp> Reply-To: malcolm@keilir.UUCP (Malcolm Cohen) Organization: University of Iceland (RHI) Lines: 17 Keywords: Grumble grumble.... In article <26313@sun.uucp> guy%gorodish@Sun.COM (Guy Harris) writes: >The second error is caused by the "here documents" containing the "ed" scripts >not being protected by the end-of-document string being enclosed in quotes. If Unfortunately, on my system (HPUX), the shell script exits after applying exactly one patch if quoting is used, i.e. it doesn't work right either way. I'd not bother posting this but it really does point out that ed/shell scripts like this are nowhere near as reliable as context diffs (or even ordinary diffs) - and have the added advantage of being that much easier to fix up the wonky bits by hand if it doesn't all work as expected. -- Malcolm Cohen mcvax!keilir!malcolm Utgardar, Computer Centre, University of Iceland, Reykjavik -----------------------------------------------------------