summaryrefslogtreecommitdiffstats
path: root/usr.bin/cmp/cmp.1
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-05-15 08:30:43 +0000
committerphk <phk@FreeBSD.org>2000-05-15 08:30:43 +0000
commitd529a5a010ba9d7f59c6b4e22c4aaaf15746eee5 (patch)
tree5f99705a5e9100446e6d3f90a7e9ce71a5a6f9ae /usr.bin/cmp/cmp.1
parentffd6fec6c030f09835e7ec783cde167b41d51cd0 (diff)
downloadFreeBSD-src-d529a5a010ba9d7f59c6b4e22c4aaaf15746eee5.zip
FreeBSD-src-d529a5a010ba9d7f59c6b4e22c4aaaf15746eee5.tar.gz
Let cmp(1) grow in -x option to print differences in contemporarry hex
format rather than the mixed decimal/octal format of -l.
Diffstat (limited to 'usr.bin/cmp/cmp.1')
-rw-r--r--usr.bin/cmp/cmp.15
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.bin/cmp/cmp.1 b/usr.bin/cmp/cmp.1
index 6153e51..60baf92 100644
--- a/usr.bin/cmp/cmp.1
+++ b/usr.bin/cmp/cmp.1
@@ -66,6 +66,11 @@ byte values (octal) for each difference.
.It Fl s
Print nothing for differing files; return exit
status only.
+.It Fl x
+Like
+.Fl l
+but prints in hexadecimal and using zero as index
+for the first byte in the files.
.El
.Pp
The optional arguments
OpenPOWER on IntegriCloud