From owner-freebsd-stable@FreeBSD.ORG Sat Apr 11 13:56:14 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C8651065673 for ; Sat, 11 Apr 2009 13:56:14 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mail-qy0-f134.google.com (mail-qy0-f134.google.com [209.85.221.134]) by mx1.freebsd.org (Postfix) with ESMTP id E85F88FC2D for ; Sat, 11 Apr 2009 13:56:13 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by qyk40 with SMTP id 40so2506268qyk.3 for ; Sat, 11 Apr 2009 06:56:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=S9e/BnSkQcyDkdSrOfK3+Vtv/oDoNlv4F44KXUdYT3Y=; b=t1Pm1r5vSQ9lnWLSetOyv2Zi/6ZTmrko4Lv4gBD2V2bYChYwF3BdNC0FbmC6cLfiUN V4tAb1OgWofbbzVPS0pVISrpJLe/wPc8QxXOzy7cjNhx7iJCXyS1xM+hNvS3bgjFgKui o+LbnB7nLDCDe2Trh6NmFTyMGCWFLqKvxSFbI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=NvnYcTp7VW/Rt0oYuy/la4nX4pk44WVbeU1sFiMSnECA3iK8XRbzSLsklDFaPnu3JB ywh1ecxk08FqsQHBuYbfAVGQlK3fOTRP+iHheG18Jtep7BvLzqNggUi2OA4z4VAMUJ4i R9gQosti6UzS/ZAm46IOr/K3tkvyX1W6tLq4s= MIME-Version: 1.0 Received: by 10.220.97.75 with SMTP id k11mr5514997vcn.39.1239458173317; Sat, 11 Apr 2009 06:56:13 -0700 (PDT) In-Reply-To: <49E09B9E.2010002@delphij.net> References: <200904091819.n39IJjDb027358@freefall.freebsd.org> <49E083AD.5030608@bsdforen.de> <49E09045.30904@delphij.net> <49E09258.1040103@bsdforen.de> <49E09B9E.2010002@delphij.net> Date: Sat, 11 Apr 2009 08:56:13 -0500 Message-ID: <790a9fff0904110656m8505444gc25152129d63ef48@mail.gmail.com> From: Scot Hetzel To: Xin LI Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Dominic Fandrey , freebsd-stable@freebsd.org Subject: Re: diff regression X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Apr 2009 13:56:14 -0000 On 4/11/09, Xin LI wrote: > |> | It used to say: > |> | -P When comparing directories, if a file appears only in > |> the second > |> | directory of the two, treat it as present but empty > |> in the > |> | other. > |> | > |> | Now it's gone. Regression? > |> > |> What's wrong with -N? > | > | Nothing, I just didn't know about -N. > > I'm not very sure, are the two option functionally same? According to the diff.1 man page -N (--new-file) Treat absent files as empty --unidirectional-new-file (-P) Treat absent first files as empty So it would seem the two options are different. Scot