{"description":"\u30bc\u30ed\u52a0\u7b97 awk\u754c\u9688\u3067\u306f\u3088\u304f\u898b\u304b\u3051\u308b\u65b9\u6cd5\u3067\u3059\u3002 printf\u8a18\u6cd5\u3001print\u8a18\u6cd5\u5171\u306b16\u9032\u6570\u306f\u4e88\u5b9a\u901a\u308a\u52d5\u3044\u3066\u304f\u308c\u306a\u3044\u306e\u3067\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002 $ echo 123 0x123 | gawk '{print $1+0, $2+0}' 123 0 $ echo 123 0x123 | gawk '{printf \"%d %d\\n\", $1+0, $2+0}' 123 0 strtonum\u95a2\u6570 \u7570\u5206\u91ce\u304b\u3089\u5165\u3063\u305f\u4eba\u9593\u306b\u3068\u3063\u3066\u3001\u6319\u52d5\u3092\u8aad\u307f\u3084\u3059\u3044\u65b9\u6cd5\u3067\u3059\u3002 \u30bc\u30ed\u52a0\u7b97\u3068\u9055\u3063\u3066\u300116\u9032\u6570\u3082\u30e8\u30ed\u30b7\u30af\u6271\u3063\u3066\u304f\u308c\u307e\u3059\u3002\u6709\u80fd\u3002 $ echo 123 0x123 | gawk '{printf \"%d %d\\n\", str\u2026","url":"https://shuzo-kino.hateblo.jp/entry/2015/11/03/235231","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshuzo-kino.hateblo.jp%2Fentry%2F2015%2F11%2F03%2F235231\" title=\"awk\u3067\u6a19\u6e96\u51fa\u529b\u306b\u8868\u793a\u3055\u308c\u305f\u6570\u5024\u3092\u6570\u5024\u578b\u3067\u6271\u3046\uff13\u3064\u306e\u65b9\u6cd5 - Bye Bye Moore\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://shuzo-kino.hateblo.jp/","author_name":"shuzo_kino","type":"rich","height":"190","width":"100%","title":"awk\u3067\u6a19\u6e96\u51fa\u529b\u306b\u8868\u793a\u3055\u308c\u305f\u6570\u5024\u3092\u6570\u5024\u578b\u3067\u6271\u3046\uff13\u3064\u306e\u65b9\u6cd5","published":"2015-11-03 23:52:31","provider_url":"https://hatena.blog","blog_title":"Bye Bye Moore","version":"1.0","image_url":null,"categories":["awk"],"author_url":"https://blog.hatena.ne.jp/shuzo_kino/"}