diff regression
Scot Hetzel
swhetzel at gmail.com
Sat Apr 11 13:56:14 UTC 2009
On 4/11/09, Xin LI <delphij at delphij.net> 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
More information about the freebsd-stable
mailing list