[hackers] [sbase] od: document skip (-j) option || Greg Reagle
commit c0a63db7f21cc9d6b193ad02a3161d3cc65849e8
Author: Greg Reagle <greg.reagle_AT_umbc.edu>
AuthorDate: Tue Nov 3 10:05:26 2015 -0500
Commit: sin <sin_AT_2f30.org>
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
_AT_@ -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 ...
_AT_@ -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
_AT_@ -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
Received on Fri Nov 06 2015 - 11:19:01 CET
This archive was generated by hypermail 2.3.0
: Fri Nov 06 2015 - 11:24:10 CET