commit c0a63db7f21cc9d6b193ad02a3161d3cc65849e8
Author: Greg Reagle <[email protected]>
AuthorDate: Tue Nov 3 10:05:26 2015 -0500
Commit: sin <[email protected]>
CommitDate: Fri Nov 6 10:18:56 2015 +0000
od: document skip (-j) option
diff --git a/od.1 b/od.1
index e4c2b09..99f3e32 100644
--- a/od.1
+++ b/od.1
@@ -8,6 +8,7 @@
.Nm
.Op Fl A Ar addrformat
.Op Fl E | e
+.Op Fl j Ar skip
.Op Fl t Ar outputformat...
.Op Fl v
.Op Ar file ...
@@ -33,6 +34,10 @@ Force Little Endian
or Big Endian
.Fl ( E )
system-independently.
+.It Fl j Ar skip
+Ignore the first
+.Ar skip
+bytes of input.
.It Fl t Ar outputformat
.Ar outputformat
is a list of a|c|d|o|u|x followed by a digit or C|S|I|L and sets
diff --git a/od.c b/od.c
index 67356e3..5a625b6 100644
--- a/od.c
+++ b/od.c
@@ -176,8 +176,8 @@ lcm(unsigned int a, unsigned int b)
static void
usage(void)
{
- eprintf("usage: %s [-A addressformat] [-E | -e] [-t outputformat] "
- "[-v] [file ...]\n", argv0);
+ eprintf("usage: %s [-A addressformat] [-E | -e] [-j skip] "
+ "[-t outputformat] [-v] [file ...]\n", argv0);
}
int