Closed huangjiaqi1997 closed 3 years ago
Unfortunately Windows 10's bash distribution does not come with an out-of-the-box equivalent for hexdump
. There are four possible solutions to make it work on Windows:
hexdump
for Windows and put it into your PATH, e.g., from https://www.di-mgt.com.au/hexdump-for-windows.html.hexdump
utility manually, using https://github.com/wahern/hexdumpOh, I just realized that you're on Git bash for Windows. Then you should be able to install it via pacman -S util-linux
directly; )
Sorry to write this here but in case someone is looking for some help on how to get this on windows 10 using git bash.
First you have to clone this repo.
Second download the util-linux for MSYS2, on the previous post, and decompress all the .exe that are on the folder /bin
and put on Program Files/Git/user/bin
(double check for the hexdump.exe)
Then just just use:
gawk -f translate.awk -- Bonjour
Note, please make sure you have gawk greater than 4.0, I use version 5.0 Now it is just to put the repo somewhere and make an alias to use in a more comfortable way.
EDIT 10-21-2021:
You can just download de release file and the hexdump.exe, move the file to the same folder inside git (Program File/Git/user/bin
). Tested on git version 2.33.0.windows.2
. YOU DON'T need the alias I showed before