{"blog_title":"\u6a4b\u672c\u8a73\u89e3","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/shokai/","description":"ruby -e 'pattern=/.*(\\.tex)$/; comment=/ *[%\\\\]/; sum=0; for i in 0..5 do Dir.glob(\"*/\"*i+\"*\").delete_if{|n|!(n =~ pattern) or File::ftype(n) != \"file\"}.each{|f| sumf=0; n=open(f).read.split(/[\\r\\n]/).delete_if{|l|l =~ /[\\\\%]/}.each{|l| sumf+=l.split(//u).size}; puts \"#{f}\\t#{sumf}\"; sum+=sumf} end;\u2026","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshokai.hatenadiary.org%2Fentry%2F20091201%2F1259659326\" title=\"tex\u30d5\u30a1\u30a4\u30eb\u306e\u672c\u6587\u306e\u884c\u6570\u3092\u6570\u3048\u308b - \u6a4b\u672c\u8a73\u89e3\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["Ruby","OneLiner"],"title":"tex\u30d5\u30a1\u30a4\u30eb\u306e\u672c\u6587\u306e\u884c\u6570\u3092\u6570\u3048\u308b","image_url":null,"width":"100%","version":"1.0","url":"https://shokai.hatenadiary.org/entry/20091201/1259659326","blog_url":"https://shokai.hatenadiary.org/","published":"2009-12-01 18:22:06","author_name":"shokai","type":"rich","provider_name":"Hatena Blog"}