Added my basic hex/ascii/binary conversion scripts

This commit is contained in:
2017-05-25 07:36:04 -05:00
parent e5467a1f64
commit 13066b37d7
4 changed files with 59 additions and 1 deletions

10
h2a Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
for c in $@; do
if [[ $c != 0x* ]]; then
c="0x$c"
fi
echo $c | xxd -r
echo -n " "
done
printf "\n"