From owner-freebsd-questions Tue Oct 16 23:43:22 2001 Delivered-To: freebsd-questions@freebsd.org Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.121.50]) by hub.freebsd.org (Postfix) with ESMTP id BB6EB37B407 for ; Tue, 16 Oct 2001 23:43:20 -0700 (PDT) Received: from dialup-209.247.143.200.dial1.sanjose1.level3.net ([209.247.143.200] helo=blossom.cjclark.org) by avocet.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 15tkQ6-0003Ab-00; Tue, 16 Oct 2001 23:43:15 -0700 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.3) id f9H6gch07455; Tue, 16 Oct 2001 23:42:38 -0700 (PDT) (envelope-from cjc) Date: Tue, 16 Oct 2001 23:42:37 -0700 From: "Crist J. Clark" To: Micke Josefsson Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Recursive diff? How? Message-ID: <20011016234237.B6985@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from mj@isy.liu.se on Wed, Oct 17, 2001 at 07:57:24AM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Oct 17, 2001 at 07:57:24AM +0200, Micke Josefsson wrote: > In my attempt to port uClinux development environment to FreeBSD I have edited > many files down the uClinux source directory. Is there anyway of doing a > recursive diff so that it would also be easy to patch a newly installed source? > > diff -r seems ok, but when I patch with the result it wants me to specify the > exact filenames. Is there a better way? CVS? The 'diff -r' should handle this fine. Are you running the 'diff -r' in the same relative location to where you are running the 'patch' command or using the -p option correctly? Are your running the diff(1) command someplace where you have different directory name in between the pwd and the source files than on the machine you run patch(1)? -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message