freebsd-skq/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: fix side_by_side after r363679 2020-07-30 13:33:45 +00:00
diff.1
diff.c diff: don't force the format to 'context' with -p immediately 2020-10-27 12:27:26 +00:00
diff.h
diffdir.c
diffreg.c diff: always properly kill pr(1) 2020-09-01 14:52:39 +00:00
Makefile
pr.c
pr.h
TODO
xmalloc.c
xmalloc.h