Add small number tools

This commit is contained in:
JPT
2019-08-01 15:20:50 +02:00
parent fdc8093f87
commit d79509759d
2 changed files with 4 additions and 0 deletions
Executable
+2
View File
@@ -0,0 +1,2 @@
#!/bin/bash
printf '%x\n' $1 | tr '[:lower:]' '[:upper:]'
Executable
+2
View File
@@ -0,0 +1,2 @@
#!/bin/bash
echo $((16#$1))