{"blog_title":"\u30dc\u30af\u30ce\u30b9","categories":["GCC"],"width":"100%","description":"\u6628\u65e5\u3001cat\u306e\u30bd\u30fc\u30b9\u3092\u8aad\u3093\u3067\u3044\u3066\u8b0e\u3060\u3063\u305fnext_line_num()\u306e\u51e6\u7406\u3092\u89e3\u6790\u3057\u3066\u307f\u305f\u3002 \u5b9f\u969b\u306e\u52d5\u4f5c\u3092\u78ba\u8a8d\u3059\u308b\u3002 cat -n\u3067\u884c\u756a\u53f7\u8868\u793a\u304c\u51fa\u6765\u308b\u3002 % cat -n next_line_num.c 1 #include <stdio.h> 2 #include <stdlib.h> 3 4 #define LINE_COUNTER_BUF_LEN 20 5 static char line_buf[LINE_COUNTER_BUF_LEN] =\u8868\u793a\u6841\u6570\u304c\u56fa\u5b9a\u306a\u306e\u304c\u75db\u3044\u304c\u3001cat\u3067\u884c\u756a\u53f7\u3092\u8868\u793a\u3059\u308b\u3053\u3068\u306f\u307e\u305a\u7121\u3055\u305d\u3046\u306a\u306e\u3067\u3001\u3053\u3093\u306a\u3082\u3093\u304b\u306a\u3041\u3068\u601d\u3046\u3002 \u89e3\u6790\u3057\u3066\u307f\u308b\u3002 next_line_num\u2026","url":"https://boxnos.hatenablog.com/entry/20070807/1186453144","provider_name":"Hatena Blog","height":"190","title":" GNU cat\u3092\u8aad\u3080 - next_line_num()\u7de8","version":"1.0","author_url":"https://blog.hatena.ne.jp/tanakaBox/","author_name":"tanakaBox","type":"rich","blog_url":"https://boxnos.hatenablog.com/","published":"2007-08-07 11:19:04","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fboxnos.hatenablog.com%2Fentry%2F20070807%2F1186453144\" title=\" GNU cat\u3092\u8aad\u3080 - next_line_num()\u7de8 - \u30dc\u30af\u30ce\u30b9\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","image_url":null}