From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26982 invoked from network); 11 Oct 1999 16:39:36 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 11 Oct 1999 16:39:36 -0000 Received: (qmail 8749 invoked by alias); 11 Oct 1999 16:39:19 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8211 Received: (qmail 8738 invoked from network); 11 Oct 1999 16:39:17 -0000 From: "Bart Schaefer" Message-Id: <991011163911.ZM6865@candle.brasslantern.com> Date: Mon, 11 Oct 1999 16:39:11 +0000 In-Reply-To: <000101bf13eb$345d8650$21c9ca95@mow.siemens.ru> Comments: In reply to "Andrej Borsenkow" "RE: PATCH: prompt fun" (Oct 11, 5:19pm) References: <000101bf13eb$345d8650$21c9ca95@mow.siemens.ru> X-Mailer: Z-Mail (5.0.0 30July97) To: "zsh workers mailing list" Subject: Re: PATCH: prompt fun MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Oct 11, 5:19pm, Andrej Borsenkow wrote: } Subject: RE: PATCH: prompt fun } } I cannot apply this patch. It creates lots of files in top-level directory. [...] } non-POSIX mode patch selects file name with the least number of slashes. } And in POSIX mode it won't create files. Run the "cvs diff" output through this: sed -e '/^RCS/,/^---/d' -e '/^\+\+\+/d' That will strip all file name lines other than the Index: line, forcing the patch to apply correctly in non-POSIX mode, and it should work for both context and unified diffs. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com