Skip to content

Commit

Permalink
Add hexdecode.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
yutayamate committed Apr 27, 2024
1 parent 3e66e77 commit 7a95082
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/hexdecode.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
#!/bin/sh
command -v xxd > /dev/null 2>&1 || { echo 'Error: "xxd" is not installed.' >&2; exit 1; }
sed -e 's/($HEX\[|\])//g' | xxd -r -p

0 comments on commit 7a95082

Please sign in to comment.