{"image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/R/Rocco/20071005/20071005230008.png","categories":["awk"],"url":"https://rocco.hatenadiary.org/entry/20080129/p1","height":"190","type":"rich","blog_url":"https://rocco.hatenadiary.org/","version":"1.0","published":"2008-01-29 00:00:00","title":"syslog \u51e6\u7406","author_name":"Rocco","width":"100%","description":"mrg memo AWK \u3092 1 \u56de\u306b\u6e1b\u3089\u305d\u3046\u3068\u601d\u3048\u3070\u6e1b\u3089\u305b\u308b\u3093\u3060\u308d\u3046\u304b\u3001\u3068\u304bawk \u5358\u72ec\u3067\u51e6\u7406\u3059\u308b\u3068\u3053\u3093\u306a\u611f\u3058\u3067\u3057\u3087\u3046\u304b? \u306a\u306e\u3067\u30011 \u56de\u306b\u6e1b\u3089\u3059\u3053\u3068\u306f\u3067\u304d\u307e\u3059\u3002 gensub() \u3068 asort() \u304c gawk \u9650\u5b9a\u3067\u3059\u304c\u3001\u4f7f\u3063\u3066\u3044\u308b\u306e\u304c Debian \u3063\u307d\u3044\u306e\u3067\u3001'apt-get install gawk' \u3067\u5165\u308a\u307e\u3059\u306d\u3002\u3066\u304b\u3001\u4f55\u3067 Debian \u3063\u3066 mawk \u304c\u30c7\u30d5\u30a9\u306a\u3093\u3067\u3059\u304b\u306d\u3002 awk \u306e\u5834\u5408\u3001asort() \u3092\u4f7f\u304a\u3046\u3068\u3059\u308b\u3068 (\u305d\u3046\u3067\u306a\u304f\u3066\u3082)\u3001\u914d\u5217\u306b\u683c\u7d0d\u3057\u3066\u3044\u304f\u5fc5\u8981\u304c\u3042\u308b\u306e\u3067 (\u306a\u3044\u304b\u3082\u3057\u308c\u306a\u3044\u3051\u3069)\u3001\u7d50\u679c\u7684\u306b sort \u30b3\u30de\u30f3\u30c9\u306e\u65b9\u304c\u826f\u3044\u6c17\u304c\u3057\u307e\u3059\u3002 \u305d\u3046\u3044\u3048\u3070\u3001'Jan\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frocco.hatenadiary.org%2Fentry%2F20080129%2Fp1\" title=\"syslog \u51e6\u7406 - \u65e5\u672c GNU AWK \u30e6\u30fc\u30b6\u30fc\u4f1a 0.2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u65e5\u672c GNU AWK \u30e6\u30fc\u30b6\u30fc\u4f1a 0.2","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/Rocco/"}