From owner-freebsd-current Sun Jan 11 07:22:56 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA00952 for current-outgoing; Sun, 11 Jan 1998 07:22:56 -0800 (PST) (envelope-from owner-freebsd-current) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA00946 for ; Sun, 11 Jan 1998 07:22:48 -0800 (PST) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.8.8/8.8.8) with UUCP id QAA21133 for freebsd-current@freebsd.org; Sun, 11 Jan 1998 16:22:46 +0100 (CET) (envelope-from j@uriah.heep.sax.de) Received: (from j@localhost) by uriah.heep.sax.de (8.8.8/8.8.5) id QAA28341; Sun, 11 Jan 1998 16:20:15 +0100 (MET) Date: Sun, 11 Jan 1998 16:20:15 +0100 (MET) Message-Id: <199801111520.QAA28341@uriah.heep.sax.de> Mime-Version: 1.0 X-Newsreader: knews 0.9.8 Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Organization: Private BSD site, Dresden X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E References: <19980105091229.49254@uriah.heep.sax.de> In-Reply-To: From: j@uriah.heep.sax.de (J Wunsch) Subject: Re: New patch: one thing to think about X-Original-Newsgroups: local.freebsd.current To: freebsd-current@freebsd.org Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= wrote: > I think Posix insist here on pure functionality separation as Unix > principle, i.e. making patch *is* main function of the "patch", but > producing backup *is not*. Well, but it's nevertheless silly of Posix. In order to really separate the functionality, you had to write another program besides patch that would walk through the diff, derive the pathnames to be patched the same way patch(1) would do, then make backup copies of all files. Obviously, those Posix people never had to use patch(1), or they wouldn't have come up with that nonsense. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)