diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2014-02-14 07:01:18 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2014-02-14 07:01:18 +0000 |
commit | a6cf83a7f0489516752d365830d169053c2f7fa3 (patch) | |
tree | d187453dea78c2ed6fe3ec8551429654f438b011 /utils/hxascdmp.1 | |
parent | 58ecb399b93382307cc7de20b76113d90b45336c (diff) | |
download | sg3_utils-a6cf83a7f0489516752d365830d169053c2f7fa3.tar.gz |
sg_inq: add --inhex=FN to fetch response from a file (rather than a device)
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@551 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'utils/hxascdmp.1')
-rw-r--r-- | utils/hxascdmp.1 | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/utils/hxascdmp.1 b/utils/hxascdmp.1 index 898dc1a9..16300aa3 100644 --- a/utils/hxascdmp.1 +++ b/utils/hxascdmp.1 @@ -1,9 +1,9 @@ -.TH HXASCDMP "1" "September 2010" "sg3_utils\-1.30" SG3_UTILS +.TH HXASCDMP "1" "February 2014" "sg3_utils\-1.38" SG3_UTILS .SH NAME hxascdmp \- hexadecimal ASCII dump .SH SYNOPSIS .B hxascdmp -[\fI\-b=BPL\fR] [\fI\-h\fR] [\fI\-H\fR] [\fI\-V\fR] +[\fI\-b=BPL\fR] [\fI\-h\fR] [\fI\-H\fR] [\fI\-N\fR] [\fI\-V\fR] [\fIFILE+\fR] .SH DESCRIPTION .\" Add any additional description here @@ -18,8 +18,12 @@ single space (apart from the 8th and 9th bytes which are separated by two spaces). If the \fI\-H\fR is not given, there is then a string of 16 ASCII characters corresponding to the hexadecimal bytes earlier in the line; only bytes in the range 0x20 to 0x7e are printed in ASCII, other bytes values are -printed as '.' . Each \fIFILE\fR name that appears on the command line is -printed on a separate line prior to that file's hexadecimal ASCII dump. +printed as '.' . If the \fI\-H\fR is not given, each \fIFILE\fR name that +appears on the command line is printed on a separate line prior to that +file's hexadecimal ASCII dump. +.PP +If the \fI\-N\fR option is given then no address is printed out and each +line starts with the next hexadecimal byte. .PP This utility is pretty close to the 'hexdump -C' variant of BSD's .B hexdump(1) @@ -39,6 +43,9 @@ output the usage message then exit. output hexadecimal only (i.e. don't place an ASCII representation at the end of each line). .TP +\fB\-N\fR +no address; so each line starts with the next hexadecimal byte. +.TP \fB\-V\fR, \fB\-\-version\fR print the version string and then exit. .SH NOTES @@ -91,7 +98,7 @@ Written by Douglas Gilbert. .SH "REPORTING BUGS" Report bugs to <dgilbert at interlog dot com>. .SH COPYRIGHT -Copyright \(co 2004\-2010 Douglas Gilbert +Copyright \(co 2004\-2014 Douglas Gilbert .br This software is distributed under a FreeBSD license. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |