[Bug 170624] diff(1): diff -qr produces incorrect output

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Nov 22 03:29:17 UTC 2017


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

Ed Maste <emaste at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emaste at freebsd.org

--- Comment #1 from Ed Maste <emaste at freebsd.org> ---
BSD diff in HEAD does not emit the somewhat confusing error message, and as
described in the man page just skips the devices.

% man diff | grep -A2 'directory mode'
     directory are described as such.  In directory mode only regular files
     and directories are compared.  If a non-regular file such as a device
     special file or FIFO is encountered, a diagnostic message is printed.
% diff -qr dir1 dir2    
File dir1/a is not a regular file or directory and was skipped

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


More information about the freebsd-bugs mailing list