From owner-freebsd-questions@FreeBSD.ORG Fri Nov 21 06:09:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C547106564A for ; Fri, 21 Nov 2008 06:09:08 +0000 (UTC) (envelope-from bill@ayn.mi.celestial.com) Received: from ayn.mi.celestial.com (hayek.celestial.com [192.136.111.12]) by mx1.freebsd.org (Postfix) with ESMTP id 46E828FC1A for ; Fri, 21 Nov 2008 06:09:08 +0000 (UTC) (envelope-from bill@ayn.mi.celestial.com) Received: from localhost (localhost [127.0.0.1]) by ayn.mi.celestial.com (Postfix) with ESMTP id D548568034541; Thu, 20 Nov 2008 22:09:07 -0800 (PST) X-Virus-Scanned: amavisd-new at mi.celestial.com Received: from ayn.mi.celestial.com ([127.0.0.1]) by localhost (ayn.mi.celestial.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ZE1UivEwbAr8; Thu, 20 Nov 2008 22:09:07 -0800 (PST) Received: by ayn.mi.celestial.com (Postfix, from userid 203) id AECC6680028F4; Thu, 20 Nov 2008 22:09:07 -0800 (PST) Date: Thu, 20 Nov 2008 22:09:07 -0800 From: Bill Campbell To: freebsd-questions@freebsd.org Message-ID: <20081121060907.GA9934@ayn.mi.celestial.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <49264FE3.20809@a1poweruser.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49264FE3.20809@a1poweruser.com> User-Agent: Mutt/1.5.18 OpenPKG/% (2008-05-17) Subject: Re: Using diff X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@celestial.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2008 06:09:08 -0000 On Fri, Nov 21, 2008, Fbsd1 wrote: > Trying to use diff program to create a patch. > Output gos to console and does not create the patch file. > > If it do diff original updated > patch.file > > The patch.file does not look like a normal patch file. > > What am I doing wrong here? Try ``diff -u original updates > patch.file''. Bill -- INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 If you think health care is expensive now, wait until you see what it coses when it's free -- P.J. O'Rourke