mirror of
https://github.com/mr0xb/dotfiles.git
synced 2026-08-28 03:44:57 -04:00
updates
This commit is contained in:
parent
e25cf3edec
commit
05a7dcaebd
4 changed files with 14 additions and 0 deletions
9
.local/bin/hdx
Executable file
9
.local/bin/hdx
Executable 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
|
||||
Loading…
Reference in a new issue