{"author_url":"https://blog.hatena.ne.jp/int128/","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fint128.hatenablog.com%2Fentry%2F20080616%2F1213545480\" title=\"\u4f9d\u5b58\u3059\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u3059\u3079\u3066\u8868\u793a\u3059\u308bPerl\u30b9\u30af\u30ea\u30d7\u30c8 - GeekFactory\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","author_name":"int128","blog_title":"GeekFactory","height":"190","url":"https://int128.hatenablog.com/entry/20080616/1213545480","provider_url":"https://hatena.blog","categories":["Linux"],"blog_url":"https://int128.hatenablog.com/","published":"2008-06-16 00:58:00","image_url":null,"description":"Linux\u30d0\u30a4\u30ca\u30ea\u304c\u4f9d\u5b58\u3059\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u8868\u793a\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u3059\u3002 #!/usr/bin/perl use File::Basename; my %libs; open(deps, \"ldd @ARGV |\"); while(<deps>) { if(/ => (.+) \\(/) { $libs{$1} = 1; } elsif(/ => \\(/) { } elsif(/^\\t(.+) \\(/) { $libs{$1} = 1; } } for my $self (@ARGV) { $libs{$self} = 1; } for my $lib (keys %libs) { print $lib\u2026","type":"rich","version":"1.0","title":"\u4f9d\u5b58\u3059\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u3059\u3079\u3066\u8868\u793a\u3059\u308bPerl\u30b9\u30af\u30ea\u30d7\u30c8"}