Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 62C779FB487; Wed, 16 May 2007 11:53:52 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 46381-05; Wed, 16 May 2007 11:53:42 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from oxford.xeocode.com (unknown [62.232.55.118]) by postgresql.org (Postfix) with ESMTP id 8FB239FB464; Wed, 16 May 2007 11:53:48 -0300 (ADT) Received: from localhost ([127.0.0.1] helo=oxford.xeocode.com) by oxford.xeocode.com with esmtp (Exim 4.67) (envelope-from ) id 1HoKsV-0001bo-2E; Wed, 16 May 2007 15:53:23 +0100 From: Gregory Stark To: "David Fetter" Cc: "Heikki Linnakangas" , "Jim C. Nasby" , "Mark Kirkwood" , "Alvaro Herrera" , "Tom Lane" , "Andrew Dunstan" , "PostgreSQL Docs" , "PostgreSQL Patches" Subject: Re: [PATCHES] OS/X startup scripts In-Reply-To: <20070516141549.GB6858@fetter.org> (David Fetter's message of "Wed, 16 May 2007 07:15:49 -0700") Organization: EnterpriseDB References: <23143.1179107513@sss.pgh.pa.us> <20070514015805.GK14860@fetter.org> <4647D81C.7080802@paradise.net.nz> <20070514173556.GW14860@fetter.org> <20070514191615.GA31201@alvh.no-ip.org> <464912F0.6010005@paradise.net.nz> <20070515024451.GI4429@alvh.no-ip.org> <46492A91.20007@paradise.net.nz> <20070516002935.GH20707@nasby.net> <464ABCE7.7040200@enterprisedb.com> <20070516141549.GB6858@fetter.org> X-Draft-From: ("nnimap+mail01.enterprisedb.com:INBOX.patches" 1333) Date: Wed, 16 May 2007 15:53:22 +0100 Message-ID: <874pmc3jml.fsf@oxford.xeocode.com> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/57 X-Sequence-Number: 4286 "David Fetter" writes: > On Wed, May 16, 2007 at 09:12:23AM +0100, Heikki Linnakangas wrote: >> Jim C. Nasby wrote: >> >BTW, is there some trick to getting cvs diff to ignore files that >> >aren't in the repo? >> >> Trick? That's what it does by default. > > I suspect he's talking about all the lines starting with '?' that diff > produces. > > Lacking sophistication, I've been known to do: > > cvs diff [list of files here] |grep -v '^?' > the_file.diff Those lines go to stderr. If you do "cvs diff > file" it spits out all the cvs file statuses to the terminal but dumps the diff to the file. It doesn't matter, diffs can contain arbitrary junk between the file diffs. patch only looks at the things it recognizes. -- Gregory Stark EnterpriseDB http://www.enterprisedb.com