{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmasasuzu.hatenablog.jp%2Fentry%2F20101023%2F1287844521\" title=\"ifconfig\u306e\u51fa\u529b\u3092\u30d1\u30fc\u30b9\u3057\u3066\u307f\u308b - \u76ee\u306e\u524d\u306b\u50d5\u3089\u306e\u9053\u304c\u3042\u308b\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["network","linux","perl"],"published":"2010-10-23 23:35:21","width":"100%","image_url":null,"type":"rich","title":"ifconfig\u306e\u51fa\u529b\u3092\u30d1\u30fc\u30b9\u3057\u3066\u307f\u308b","description":"\u3053\u3093\u306a\u611f\u3058? \u6b63\u898f\u8868\u73fe\u304c\u3061\u3087\u3063\u3068\u30a2\u30ec\u304b\u306a\u3042\u3002 #!/usr/bin/env perl use common::sense; my @interfaces = split /\\n\\n/, `LANG=C; /sbin/ifconfig -a`; my %reg = ( link_encap => qr/Link encap:(\\S+)/, mac_address => qr/HWaddr\\s(([[:xdigit:]]{2}:){5}[[:xdigit:]]{2})/, ip_address => qr/inet addr:(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3})\u2026","url":"https://masasuzu.hatenablog.jp/entry/20101023/1287844521","version":"1.0","blog_url":"https://masasuzu.hatenablog.jp/","author_name":"masasuz","height":"190","blog_title":"\u76ee\u306e\u524d\u306b\u50d5\u3089\u306e\u9053\u304c\u3042\u308b","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/masasuz/"}