summaryrefslogtreecommitdiff
path: root/man/od.x
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2012-12-27 04:14:14 +0000
committerPádraig Brady <P@draigBrady.com>2012-12-27 13:42:07 +0000
commit850aa613e6b040784a9cc1c661bc59d91c315305 (patch)
tree831b3bda8c80dbd73a044a363cd691b6718891f0 /man/od.x
parentb6b24ad49d36e13df54650c99c43f9fddd15ff75 (diff)
downloadcoreutils-850aa613e6b040784a9cc1c661bc59d91c315305.tar.xz
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.
Diffstat (limited to 'man/od.x')
-rw-r--r--man/od.x7
1 files changed, 7 insertions, 0 deletions
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