]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
cmp: add -n, --bytes to limit number of bytes to compare
authorKyle Evans <kevans@FreeBSD.org>
Thu, 23 Sep 2021 05:26:52 +0000 (00:26 -0500)
committerKyle Evans <kevans@FreeBSD.org>
Sun, 3 Oct 2021 05:19:56 +0000 (00:19 -0500)
commita67180b4b7706d504351c96359459876e9e0fb4b
treeeb87079f9f94e24ffe6503324e511307a8455038
parent66691176665015a6c44ec78aa7f7ada8b4804a18
cmp: add -n, --bytes to limit number of bytes to compare

This is compatible with GNU cmp.

Reviewed by: markj
Sponsored by: Klara, Inc.

(cherry picked from commit 4e380e8474609875c4cf5277b3755ac29079a8b5)
usr.bin/cmp/cmp.1
usr.bin/cmp/cmp.c
usr.bin/cmp/extern.h
usr.bin/cmp/link.c
usr.bin/cmp/regular.c
usr.bin/cmp/special.c
usr.bin/cmp/tests/cmp_test2.sh