Simple Sand Samples |
Bash > 文字列を数値に変換する(文字コードを得る)
str2hex.bash
od -tx1 -An | xargs printf "%s\n"
$ echo -n HELLO | source str2hex.bash
48
45
4c
4c
4f
$
48
45
4c
4c
4f
$
* 確認環境 Debian Linux(Wheezy)
Simple Sand Samples |
od -tx1 -An | xargs printf "%s\n"