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

            Bug ID: 233402
           Summary: diff -N: loss of functionality
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: [email protected]
          Reporter: [email protected]

-N works without -r in GNU diff, which is useful because it can make scripts a
tiny bit simpler.  this functionality got lost with the switch from GNU diff to
the OpenBSD one.

GNU/Linux:

roman@crowbar ~ master 0 1002 0 . echo fubar > snafu
roman@crowbar ~ master 0 1003 0 . diff snafu wtf
diff: wtf: No such file or directory
roman@crowbar ~ master 0 1004 2 . diff -N snafu wtf 
1d0
< fubar

FreeBSD:

roman@sheeba ~ master :M 0 1003 2 . echo fubar > snafu
roman@sheeba ~ master :M 0 1004 0 . diff snafu wtf
diff: wtf: No such file or directory
roman@sheeba ~ master :M 0 1005 2 . diff -N snafu wtf 
diff: wtf: No such file or directory

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to