{"height":"190","image_url":null,"type":"rich","author_name":"zaki-hmkc","categories":["Linux","tech","\u671d\u6d3b"],"version":"1.0","blog_title":"zaki work log","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzaki-hmkc.hatenablog.com%2Fentry%2F2025%2F06%2F07%2F101434\" title=\" [Linux] AWK\u3067\u6b63\u898f\u8868\u73fe\u7f6e\u63db - zaki work log\" 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","title":" [Linux] AWK\u3067\u6b63\u898f\u8868\u73fe\u7f6e\u63db","provider_name":"Hatena Blog","description":"\u30b3\u30de\u30f3\u30c9\u306e\u51fa\u529b\u3092\u6b63\u898f\u8868\u73fe\u4f7f\u3063\u3066\u6587\u5b57\u5217\u7f6e\u63db\u3059\u308b\u306a\u3089sed\u3092\u4f7f\u3046\u3053\u3068\u306f\u591a\u3044\u3051\u3069\u3001\u884c\u3054\u3068\u306b\u51e6\u7406\u3059\u308b\u3060\u3051\u3067\u300c\u524d\u306e\u884c\u306e\u60c5\u5831\u300d\u306a\u3069\u3069\u3046\u3060\u3063\u305f\u304b\u3068\u304b\u306e\u72b6\u614b\u3092\u7dad\u6301\u3059\u308b\u4ed5\u7d44\u307f\u304c(\u305f\u3076\u3093)\u306a\u3044\u306e\u3067\u3001\u4f8b\u3048\u3070\u300c\u7279\u5b9a\u306e\u6587\u5b57\u5217\u30d1\u30bf\u30fc\u30f3\u3092\u6b63\u898f\u8868\u73fe\u3067\u51e6\u7406\u3057\u3064\u3064\u9023\u756a\u3092\u632f\u308b\u300d\u304csed\u306f(\u305f\u3076\u3093)\u3067\u304d\u306a\u3044\u3002(\u9023\u756a\u306e\u90e8\u5206) \u3053\u306e\u8981\u4ef6\u306a\u3089awk\u3092\u4f7f\u3048\u3070\u3067\u304d\u308b\u3002 \u304a\u984c\uff1aps aux\u306e\u7d50\u679c\u306e\u884c\u982d\u306b\u884c\u756a\u53f7\u30923\u6841\u30bc\u30ed\u8a70\u3081\u3067\u8ffd\u52a0 \u304a\u984c\u305d\u306e\u3082\u306e\u306f\u5168\u304f\u5b9f\u7528\u7684\u3067\u306f\u306a\u3044\u3051\u3069\u3001\u5909\u6570\u4f7f\u3063\u305f\u6b63\u898f\u8868\u73fe\u7f6e\u63db\u3068\u3044\u3046\u4f8b\u3002 \u30b3\u30de\u30f3\u30c9\u306f\u4ee5\u4e0b\u3002 ps aux | awk '{sub(/^/, sprintf(\"%03d: \", ++i)); print}' AWK\u306fsub\u2026","published":"2025-06-07 10:14:34","author_url":"https://blog.hatena.ne.jp/zaki-hmkc/","url":"https://zaki-hmkc.hatenablog.com/entry/2025/06/07/101434","width":"100%","blog_url":"https://zaki-hmkc.hatenablog.com/"}