{"id":9426,"date":"2013-04-22T21:16:23","date_gmt":"2013-04-22T12:16:23","guid":{"rendered":"http:\/\/www.softantenna.com\/wp\/?p=9426"},"modified":"2013-04-22T21:16:23","modified_gmt":"2013-04-22T12:16:23","slug":"ack-2-0","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/ack-2-0\/","title":{"rendered":"\u3088\u308a\u826f\u3044grep\u300cack 2.0\u300d\u30ea\u30ea\u30fc\u30b9"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2013\/04\/blogack-2.02-beyond-grep-a-source-code-search-tool-for-programmers.png\" alt=\"Ack 2 02  beyond grep a source code search tool for programmers\" title=\"ack 2.02 -- beyond grep, a source code search tool for programmers.png\" border=\"0\" width=\"560\" height=\"420\" \/><\/p>\n<p>\u30d7\u30ed\u30b0\u30e9\u30e0\u958b\u767a\u8005\u5411\u3051\u306b\u6700\u9069\u5316\u3055\u308c\u305fgrep\u30e9\u30a4\u30af\u30c4\u30fc\u30eb\u300c<a href=\"http:\/\/beyondgrep.com\/\">ack v2.0<\/a>\u300d\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\u3002\u500b\u4eba\u7684\u306b\u306f\u4f7f\u3063\u305f\u4e8b\u304c\u306a\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u516c\u5f0f\u30b5\u30a4\u30c8\u306back\u3092\u4f7f\u3046\u7406\u7531\u3068\u3057\u3066\u3001\u4ee5\u4e0b\u306e5\u3064\u306e\u7279\u5fb4\u304c\u6319\u3052\u3089\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u9ad8\u901f\u691c\u7d22\u3002\n<li>\u3088\u308a\u826f\u3044\u691c\u7d22\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3067.git\/.svn\u306a\u3069\u306e\u4e0d\u8981\u30d5\u30a9\u30eb\u30c0\u3092\u9664\u5916\u3057\u305f\u968e\u5c64\u691c\u7d22\u3092\u304a\u3053\u306a\u3046\u3002\n<li>\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u5411\u306e\u8a2d\u8a08\u3002\n<li>\u30cf\u30a4\u30dd\u30fc\u30bf\u30d3\u30ea\u30c6\u30a3(Perl\u3067\u8a18\u8ff0\u3055\u308c\u3066\u3044\u308b\u306e\u3067Windows\u3067\u52d5\u304b\u3059\u3053\u3068\u3082\u5bb9\u6613)\n<li>\u30d5\u30ea\u30fc\uff06\u30aa\u30fc\u30d7\u30f3\u3002\n<\/ul>\n<p>\u306a\u304b\u306a\u304b\u826f\u3055\u305d\u3046\u3067\u3059\u306d\u3002<br \/>\n<!--more--><\/p>\n<h3>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u7c21\u5358\u305d\u3046<\/h3>\n<p><a href=\"http:\/\/beyondgrep.com\/install\/\">\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/a>\u306b\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u304c\u96e3\u3057\u3044\u624b\u9806\u306f\u5fc5\u8981\u3042\u308a\u307e\u305b\u3093\u3002\u4f8b\u3048\u3070Homebrew\u306e\u5834\u5408\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u4e00\u767a\u3067\u3059\u3002<\/p>\n<pre>\n$ brew install ack \n<\/pre>\n<p>Linux\u306e\u5834\u5408\u3001ack\u3068\u3044\u3046\u540d\u524d\u306e\u6f22\u5b57\u5909\u63db\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u5b58\u5728\u3059\u308b\u305f\u3081\u3001ack-grep\u3068\u3044\u3046\u540d\u524d\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u306a\u3063\u3066\u3044\u308b\u4e8b\u3082\u3042\u308b\u307f\u305f\u3044\u3067\u3059\u3002<\/p>\n<h3>\u4f7f\u7528\u65b9\u6cd5\u3082\u7c21\u5358<\/h3>\n<p>\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u306f\u7c21\u5358\u3002\u691c\u7d22\u3057\u305f\u3044\u30d5\u30a9\u30eb\u30c0\u306b\u79fb\u52d5\u3057\u3066\u30d1\u30bf\u30fc\u30f3\u3092\u5165\u529b\u3059\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n<pre>\n$ ack test\n<\/pre>\n<p>\u3053\u308c\u3060\u3051\u3067\u300cgrep -r test *\u300d\u76f8\u5f53(\u4ee5\u4e0a)\u306e\u3053\u3068\u3092\u3057\u3066\u304f\u308c\u308b\u306e\u3067\u3042\u308a\u304c\u305f\u3044\u3067\u3059\u3002grep\u3068\u6bd4\u8f03\u3057\u3066\u9ad8\u901f\u3060\u3057\u3001\u691c\u7d22\u7d50\u679c\u304c\u30ab\u30e9\u30d5\u30eb\u3067\u307f\u3084\u3059\u3044\u306e\u3067\u306a\u304b\u306a\u306a\u304b\u3088\u3055\u305d\u3046\u3067\u3059\u3002<\/p>\n<p>\u8a73\u3057\u3044\u4f7f\u3044\u65b9\u4ee5\u4e0b\u306e\u30ea\u30f3\u30af\u5148\u306a\u3069\u304c\u53c2\u8003\u306b\u306a\u308b\u304b\u3068<\/p>\n<ul>\n<li><a href=\"http:\/\/d.hatena.ne.jp\/toritori0318\/20100404\/1270395880\">ack\u4f7f\u3044\u65b9\u30e1\u30e2 - \u30a2\u30eb\u30d1\u30abDiary<\/a>\n<\/ul>\n<p><a href=\"http:\/\/beyondgrep.com\/ack-2.0\/\">ack 2\u306e\u5909\u66f4\u70b9<\/a>\u306f\u3001\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u8ffd\u52a0\u524a\u9664\u306a\u3069\u3044\u308d\u3044\u308d\u3042\u308b\u307f\u305f\u3044\u3067\u3059\u304c\u3001\u57fa\u672c\u7684\u306a\u4f7f\u3044\u52dd\u624b\u306f\u5909\u308f\u3063\u3066\u306a\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30d7\u30ed\u30b0\u30e9\u30e0\u958b\u767a\u8005\u5411\u3051\u306b\u6700\u9069\u5316\u3055\u308c\u305fgrep\u30e9\u30a4\u30af\u30c4\u30fc\u30eb\u300cack v2.0\u300d\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\u3002\u500b\u4eba\u7684\u306b\u306f\u4f7f\u3063\u305f\u4e8b\u304c\u306a\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u516c\u5f0f\u30b5\u30a4\u30c8\u306back\u3092\u4f7f\u3046\u7406\u7531\u3068\u3057\u3066\u3001\u4ee5\u4e0b\u306e5\u3064\u306e\u7279\u5fb4\u304c\u6319\u3052\u3089\u308c\u3066\u3044\u307e\u3059\u3002 \u9ad8\u901f\u691c\u7d22\u3002  [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":9425,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[75],"tags":[816],"class_list":["post-9426","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","tag-ack"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/9426","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=9426"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/9426\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/9425"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=9426"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=9426"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=9426"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}