This commit is contained in:
Steve 2022-12-03 21:28:13 -05:00
commit 05a7dcaebd
4 changed files with 14 additions and 0 deletions

9
.local/bin/hdx Executable file
View file

@ -0,0 +1,9 @@
#!/usr/bin/env bash
#while read data; do
data=$1
withoutQuotes=`echo ${data} | sed s/\"//g`
without0x=`echo ${withoutQuotes} | sed s/0x//g`
clean=${without0x}
echo $((16#${clean}))
#done