Removed xxd.exe binary and aded instructions to build
This commit is contained in:
parent
11597af272
commit
a3859219a7
3 changed files with 5 additions and 2 deletions
4
external/bin/xxd.c
vendored
4
external/bin/xxd.c
vendored
|
|
@ -230,7 +230,7 @@ char *pname;
|
|||
fprintf(stderr, " or\n %s -r [-s [-]offset] [-c cols] [-ps] [infile [outfile]]\n", pname);
|
||||
fprintf(stderr, "Options:\n");
|
||||
fprintf(stderr, " -a toggle autoskip: A single '*' replaces nul-lines. Default off.\n");
|
||||
fprintf(stderr, " -). Default hex.\n");
|
||||
fprintf(stderr, " -b binary digit dump (incompatible with -p,-i,-r). Default hex.\n");
|
||||
fprintf(stderr, " -c cols format <cols> octets per line. Default 16 (-i: 12, -ps: 30).\n");
|
||||
fprintf(stderr, " -E show characters in EBCDIC. Default ASCII.\n");
|
||||
fprintf(stderr, " -g number of octets per group in normal output. Default 2.\n");
|
||||
|
|
@ -738,7 +738,7 @@ char *argv[];
|
|||
}
|
||||
if (hextype == HEX_NORMAL)
|
||||
{
|
||||
l[c / octspergrp)] = hexx[(e >> 4) & 0xf];
|
||||
l[c = (9 + (grplen * p) / octspergrp)] = hexx[(e >> 4) & 0xf];
|
||||
l[++c] = hexx[ e & 0xf];
|
||||
}
|
||||
else /* hextype == HEX_BITS */
|
||||
|
|
|
|||
BIN
external/bin/xxd.exe
vendored
BIN
external/bin/xxd.exe
vendored
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue