HardenedBSD/usr.bin/diff
Kyle Evans b0d30b27f0 diff: don't force the format to 'context' with -p immediately
Instead, leave the fomat as unspecified (if it hasn't been) and use the
-p flag as a hint to 'context' if no other formatting option is specified.

This fixes `diff -purw`, used frequently by emaste, and matches the behavior
of its GNU counterpart.

PR:		250015
Reviewed by:	emaste
MFC after:	1 week
2020-10-27 12:27:26 +00:00
..
tests
diff.1
diff.c
diff.h
diffdir.c
diffreg.c
Makefile
pr.c
pr.h
TODO
xmalloc.c
xmalloc.h