[Bug 233402] diff -N: loss of functionality

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue May 19 09:42:29 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233402

--- Comment #1 from fehmi noyan isi <fnoyanisi at yahoo.com> ---
Is being able to use -N without -r the desired behaviour for diff(1)? From
diff(1) man page, I understand that FreeBSD diff(1) requires the second file to
be present in the directory where a recursive call starts but necessarily in
the current working directory.

FreeBSD man 1 diff 
-N --new-file
    If a file is found in only one directory, act as if it was found
    in the other directory too but was of zero size.

man for GNU diff
-N, --new-file
    treat absent files as empty

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list