{"blog_title":"\u30d7\u30ed\u30b0\u30e9\u30e0\u30e2\u30b0\u30e2\u30b0","categories":["\u96d1\u8a18"],"blog_url":"https://itchyny.hatenablog.com/","provider_name":"Hatena Blog","title":"tail -r\u3092\u81ea\u5206\u3067\u66f8\u3044\u3066\u307f\u308b","height":"190","image_url":null,"author_name":"itchyny","description":"\u3042\u3093\u307e\u308a\u5927\u3057\u305f\u3053\u3068\u7121\u3044\u3093\u3060\u3051\u3069, \u3069\u3046\u3082-r\u30aa\u30d7\u30b7\u30e7\u30f3\u3063\u3066, \u3069\u306e\u74b0\u5883\u306etail\u306b\u3082\u3064\u3044\u3066\u308b\u308f\u3051\u3067\u306f\u306a\u3044\u307f\u305f\u3044.Mac\u306etail\u306b\u306f\u3042\u3063\u3066, Ubuntu\u306b\u306f\u306a\u304b\u3063\u305f. GNU\u3060\u304b\u3089\uff1f\u5225\u306b\u3057\u3087\u3046\u3082\u306a\u3044\u4e8b\u3060\u3051\u3069, \u3061\u3087\u3063\u3068\u66f8\u3044\u3066\u307f\u305f. \u30eb\u30fc\u30eb \u6a19\u6e96\u5165\u529b\u3092\u53d7\u3051\u53d6\u3063\u3066\u6a19\u6e96\u51fa\u529b\u306b\u51fa\u529b\u3059\u308b\u3053\u3068 tail-r.hs import Data.List.Split (splitOn) main = getContents >>= (mapM_ putStrLn . reverse . splitOn \"\\n\") \u3048\uff1f Haskell\u306f\u30c0\u30e1\uff1f tail-r.js process.stdin.resume(); \u2026","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fitchyny.hatenablog.com%2Fentry%2F20120212%2F1329052157\" title=\"tail -r\u3092\u81ea\u5206\u3067\u66f8\u3044\u3066\u307f\u308b - \u30d7\u30ed\u30b0\u30e9\u30e0\u30e2\u30b0\u30e2\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://itchyny.hatenablog.com/entry/20120212/1329052157","version":"1.0","published":"2012-02-12 22:09:17","provider_url":"https://hatena.blog","type":"rich","author_url":"https://blog.hatena.ne.jp/itchyny/"}