sbase

suckless unix tools
git clone git://git.2f30.org/sbase.git
Log | Files | Refs | README | LICENSE

commit c0a63db7f21cc9d6b193ad02a3161d3cc65849e8
parent 7604f990034fc9bf9f88d62471d05934d5a3765c
Author: Greg Reagle <greg.reagle@umbc.edu>
Date:   Tue Nov  3 10:05:26 -0500

od: document skip (-j) option

Diffstat:
od.1 | 5+++++
od.c | 4++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git 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 @@ -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