最近の若いコマンド [無断転載禁止]©2ch.net
more は less に vi は Vim と、コマンドはより少ないバグと高い性能を目指して進歩してきました。
最近は exa (ls) や ag (grep) 等、UNIX ツールの洗練も進んできています。
こういった「若い」コマンドを語り合いましょう。 Ag --- The Siver Searcher
https://github.com/ggreer/the_silver_searcher
grep よりも高速でまた便利なオプションがあります。
例えば Vim で言う ignorecase smartcase のようなことが可能です。
$ ls
a b
$ ag -S test
a/a.txt
1:test1
2:test2
b/b.txt
1:Test1
2:test2
$ ag -S Test
b/b.txt
1:Test1 拡張子を手動で指定する必要はないです
$ ag --cc ./
main.cpp
main10.hxx
main2.cc
main3.C
main4.cxx
main5.m
main6.hpp
main7.hh
main8.h
main9.H