Created
October 15, 2018 17:44
-
-
Save TheFauxFox/346f0f79b39592e2facb0b9490e38b4d to your computer and use it in GitHub Desktop.
Converts hex to string, delimeter of " "
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
readarray -t arr <<< $@ #Read all args into readarray | |
for i in ${arr}; do #Loop over array | |
echo $i | xxd -r #Convert 0x65 to 'e' | |
done | |
echo #Echos newline to stop headaches |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment