diff regression

Scot Hetzel swhetzel at gmail.com
Sat Apr 11 12:54:00 UTC 2009


On Sat, Apr 11, 2009 at 6:49 AM, Dominic Fandrey <kamikaze at 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


More information about the freebsd-stable mailing list