summaryrefslogtreecommitdiff
path: root/usr.bin/hexdump/hexdump.1
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/hexdump/hexdump.1')
-rw-r--r--usr.bin/hexdump/hexdump.115
1 files changed, 14 insertions, 1 deletions
diff --git a/usr.bin/hexdump/hexdump.1 b/usr.bin/hexdump/hexdump.1
index 563edac0fcd1..a76d043fa295 100644
--- a/usr.bin/hexdump/hexdump.1
+++ b/usr.bin/hexdump/hexdump.1
@@ -35,7 +35,7 @@
.Dt HEXDUMP 1
.Os
.Sh NAME
-.Nm hexdump
+.Nm hexdump, hd
.Nd ascii, decimal, hexadecimal, octal dump
.Sh SYNOPSIS
.Nm hexdump
@@ -47,6 +47,15 @@
.Op Fl s Ar skip
.Ek
.Ar file ...
+.Nm hd
+.Op Fl bcdovx
+.Op Fl e Ar format_string
+.Op Fl f Ar format_file
+.Op Fl n Ar length
+.Bk -words
+.Op Fl s Ar skip
+.Ek
+.Ar file ...
.Sh DESCRIPTION
The hexdump utility is a filter which displays the specified files, or
the standard input, if no files are specified, in a user specified
@@ -69,6 +78,10 @@ data per line.
Display the input offset in hexadecimal, followed by sixteen
space-separated, two column, hexadecimal bytes, followed by the
same sixteen bytes in %_p format enclosed in ``|'' characters.
+.Pp
+Calling the command
+.Nm hd
+implies this option.
.It Fl d
.Em Two-byte decimal display.
Display the input offset in hexadecimal, followed by eight