From 850aa613e6b040784a9cc1c661bc59d91c315305 Mon Sep 17 00:00:00 2001 From: Pádraig Brady Date: Thu, 27 Dec 2012 04:14:14 +0000 Subject: doc: improve od --help and man page * src/od.c: Redorder the information output by --help to ease interpretation and so that appropriate sections are generated by help2man. * doc/coreutils.texi (od invocation): Fix an incorrect reference to @var{n}, which should be @var{bytes}. * man/od.x: Add an "Examples" section, and move the default od format to there, and add a commonly required format to generate hexdumps. Reported by Akim Demaille in http://bugs.gnu.org/13280. --- man/od.x | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'man') diff --git a/man/od.x b/man/od.x index c913f8046..b98beec43 100644 --- a/man/od.x +++ b/man/od.x @@ -2,3 +2,10 @@ od \- dump files in octal and other formats [DESCRIPTION] .\" Add any additional description here +[EXAMPLES] +.TP +.B od -A x -t x1z -v +Display hexdump format output +.TP +.B od -A o -t oS -w 16 +The default output format used by od -- cgit v1.2.3-54-g00ecf