Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Apr 2009 07:22:51 -0500
From:      Scot Hetzel <swhetzel@gmail.com>
To:        Dominic Fandrey <kamikaze@bsdforen.de>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: diff regression
Message-ID:  <790a9fff0904110522r23e8b868l753fc59fb0838402@mail.gmail.com>
In-Reply-To: <49E083AD.5030608@bsdforen.de>
References:  <200904091819.n39IJjDb027358@freefall.freebsd.org> <49E083AD.5030608@bsdforen.de>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sat, Apr 11, 2009 at 6:49 AM, Dominic Fandrey <kamikaze@bsdforen.de> wrote:
> OK, this really sucks. diff has lost the -P option, that I've been
> relying on. Compare:
> http://www.freebsd.org/cgi/man.cgi?query=diff&manpath=FreeBSD+6.0-RELEASE
> http://www.freebsd.org/cgi/man.cgi?query=diff&manpath=FreeBSD+7.1-RELEASE
>
> 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?
>
>>

It looks like the -P option was removed from diff between FreeBSD
6.2-Release and FreeBSD 6.3-Release (diffutils 2.8.7).

You can use --unidirectional-new-file instead.

Scot



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0904110522r23e8b868l753fc59fb0838402>