{"id":1879,"date":"2019-08-15T20:12:53","date_gmt":"2019-08-15T11:12:53","guid":{"rendered":"https:\/\/yuis-programming.com\/?p=1879"},"modified":"2021-07-18T18:18:55","modified_gmt":"2021-07-18T09:18:55","slug":"bash%e3%81%aeag%e3%81%a7%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e5%90%8d%e3%81%a7%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92%e6%ad%a3%e8%a6%8f%e8%a1%a8%e7%8f%be%e6%a4%9c%e7%b4%a2%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/yuis-programming.com\/?p=1879","title":{"rendered":"Bash\u306eag\u3067\u30d5\u30a1\u30a4\u30eb\u540d\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u6b63\u898f\u8868\u73fe\u691c\u7d22\u3059\u308b"},"content":{"rendered":"<p>Linux Bash\u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u306eag\u3067\u30d5\u30a1\u30a4\u30eb\u540d\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u6b63\u898f\u8868\u73fe\u691c\u7d22\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/github.com\/ggreer\/the_silver_searcher\">ggreer\/the_silver_searcher: A code-searching tool similar to ack, but faster.<\/a>\u3067\u30d5\u30a1\u30a4\u30eb\u540d\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u691c\u7d22\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u307f\u305f\u3044\u3067\u3057\u305f\u306e\u3067\u8efd\u304f\u7d39\u4ecb\u3002<\/p>\n<p>ag\u3068\u3044\u3046\u3068\u5168\u6587\u691c\u7d22\u30c4\u30fc\u30eb\u306a\u306e\u3067\u3059\u304c\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u691c\u7d22\u3082\u3067\u304d\u308b\u307f\u305f\u3044\u3067\u3059\u3002Windows\u306b\u306fEverything( <a href=\"https:\/\/www.voidtools.com\/downloads\/\">Downloads &#8211; voidtools<\/a> )\u3068\u3044\u3046\u304a\u306a\u3058\u307f\u4fbf\u5229\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u3053\u3046\u3044\u3046\u611f\u3058\u3067\u3059\u306d\u3002<\/p>\n<p>\u30d5\u30a9\u30eb\u30c0\u540d\u30de\u30c3\u30c1\u3067\u306e\u6b63\u898f\u8868\u73fe\u691c\u7d22\u306a\u306e\u3067\u3001\u4f7f\u3044\u52dd\u624b\u306fEverything\u7684\u306a\u611f\u3058\u3060\u3068\u601d\u3044\u307e\u3059\u3002Everything\u306f\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3057\u3066\u308b\u306e\u3067\u3081\u3063\u3061\u3083\u65e9\u3044\u3067\u3059\u3057GUI\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306a\u306e\u3067\u4e26\u3073\u66ff\u3048\u3068\u304b\u4f55\u304b\u3068\u4fbf\u5229\u3067\u3059\u304c\u3002Linux\u306eEverything\u307f\u305f\u3044\u306a\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u63a2\u3057\u3066\u306f\u307f\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u4f7f\u3048\u305d\u3046\u306a\u3084\u3064\u304c\u306a\u304f\u3066\u3001\u7d50\u5c40ag\u4f7f\u3046\u306e\u304c\u826f\u3055\u305d\u3046\u3067\u3059\u3002<\/p>\n<p><img src=\"https:\/\/yuis.xsrv.jp\/images\/ss\/ShareX_ScreenShot_dd57c91a-a822-4259-8d95-335d5077c89a.png\" alt=\"https:\/\/yuis.xsrv.jp\/images\/ss\/ShareX_ScreenShot_dd57c91a-a822-4259-8d95-335d5077c89a.png\"><\/p>\n<pre><code>yuis ASUS \/mnt\/c\/_tmp$ ag -g \"522\"\n20190501091958\/522.txt\n20190522113858\/android_photo_TFEeJMuS308gNkxaT1ixDqscrmbEtybD.jpg\n20190522113858\/android_photo_TFEeJMuS308gNkxaT1ixDqscrmbEtybD.jpg is YkvfYeWfFTxvVnlBQOxpLTtIxqDYAvpw.jpg.is.tag\n20190522113858\/YkvfYeWfFTxvVnlBQOxpLTtIxqDYAvpw.jpg\n20190522121215\/android_photo_eRrDXpx9yLeJnXwCCaHkxdsXYw4gQsQN.jpg\n20190522121215\/android_photo_eRrDXpx9yLeJnXwCCaHkxdsXYw4gQsQN.jpg is fhq8g4BfFVJB5H4Fu8Mpjt9T9AHDKp1h.jpg.is.tag\n20190522121215\/fhq8g4BfFVJB5H4Fu8Mpjt9T9AHDKp1h.jpg\nyuis ASUS \/mnt\/c\/_tmp$ ag -g \"^.*\/522\"\n20190501091958\/522.txt\n<\/code><\/pre>\n<p>\u3061\u306a\u307f\u306bripgrep\u3063\u3066\u30e9\u30a4\u30d6\u30e9\u30ea\u3082ag\u307f\u305f\u3044\u306a\u3053\u3068\u304c\u3067\u304d\u308b\u307f\u305f\u3044\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/github.com\/BurntSushi\/ripgrep\">BurntSushi\/ripgrep: ripgrep recursively searches directories for a regex pattern<\/a><br \/>\n<a href=\"https:\/\/github.com\/BurntSushi\/ripgrep\/issues\/284\">[QUESTION\/SUGGESTION] Does\/should ripgrep support ag\/ack&#8217;s -g flag for searching filenames? \u00b7 Issue #284 \u00b7 BurntSushi\/ripgrep<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux Bash\u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u306eag\u3067\u30d5\u30a1\u30a4\u30eb\u540d\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u6b63\u898f\u8868\u73fe\u691c\u7d22\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3057\u307e\u3059 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[1],"tags":[],"acf":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8Rxwo-uj","_links":{"self":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts\/1879"}],"collection":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1879"}],"version-history":[{"count":2,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts\/1879\/revisions"}],"predecessor-version":[{"id":2596,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts\/1879\/revisions\/2596"}],"wp:attachment":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1879"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1879"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1879"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}