个人Blog: hhktony.com
全部博文(553)
分类: LINUX
2012-07-28 10:08:22
Firstly, install the ncurses libs.
$ sudo apt-get install libncursesw5 libncursesw5-devSecondly, get the code, and install.
$ git cloneThe small application has limited usages, just two forms, so in order to improve it, there are many work needed to do. By default, it will skip the .git directory when you search a git repository, and it does support regular expression, since the search task is done by grep command. In addition, happygrep can specify one directory to ignore. The directory name can use regex.
For instance, we want to search the string hello world in a git repository called techdoc/, we can do like this:
Also, you can ignore a directory named image/:
$ happygrep "hello world" imageAfter running the commands above respectively, then you will get a nice window based text user interface.