-
3a3889ff :Anonymous
2010-11-14 16:35
-
#!/usr/bin/lua
hw = "\x68\x65\x6c\x6c\x6f\x20\x77\x6f\x72\x6c\x64"
for s in string.gmatch (hw, "%x+") do
io.write (string.format ("%c", ("0x" .. s)))
end
io.write ("\n")
もっと簡便な方法ない? python(やperlやruby)ならprint hwで終わるんだけど。
Powered by shinGETsu.