xref: /aosp_15_r20/external/sg3_utils/utils/README (revision 44704f698541f6367e81f991ef8bb54ccbf3fc18)
1This directory contains these utilities:
2  - hxascdmp: takes a binary stream and converts it to hexadecimal ASCII
3    which is sent to stdout. The incoming binary stream can either be
4    from a file or, in the absence of a file name, from stdin. Similar to
5    the Unix "od" command. By default, it decodes 16 bytes per line with
6    an ASCII interpretation to the right of each line. See its
7    hxascdmp(1) man page.
8  - sg_chk_asc and tst_sg_lib: are no longer here, they have been moved
9    to the 'testing' directory (a sibling of this directory).
10
11
12By default, the Makefile only builds the hxascdmp utility. The 'Makefile'
13file (i.e. with no suffix) builds for Linux; the 'Makefile.freebsd' file
14builds for FreeBSD (e.g. 'make -f Makefile.freebsd'); the
15'Makefile.solaris' file builds for Solaris; the 'Makefile.mingw' builds
16in the Windows MinGW environment (e.g.  msys shell); and 'Makefile.cygwin'
17builds in the Windows Cygwin environment.
18
19Douglas Gilbert
204th November 2017
21