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