Add some debug log.
Remove unnecessary git ignore entry
Fix beagrep fail when the starting path has symlink in its components.

Must start from the true path, as the mkbeagrepidx will use the true
path.

Fix issue 1 (part 2).
Change cache folder from ~/tmp to ~/.cache, which is semi-standard;

Add =-s= option so that the filename can be shortened to the relative
path.

Fixes: issue 1 (part 1 and 3).
Enable the '-d' option to specify which source directory to use.
Fix directory location.
Fix beagrep for when there is space in the path.
Fix for when there are space in the source code path
Add config file option to ignore project specific directory patterns
Allow rewrite the pattern to avoid editing the captured pattern
manually.

For e.g.,

    beagrep -e "sys_getuid16" --rewrite "/^sys_/(/" -s

Will show you where you can find the syscall definition for getuid16:

    kernel/uid16.c:212:SYSCALL_DEFINE0(getuid16)
Fix beagrep for short output format

perl's glob() seems to be not reliable when the path does not exist.
Rename lookup_file and fix a possible confuse for user
Improve beagrep speed even further
Use the org-mode and update the readme

Signed-off-by: Bao Haojun <baohaojun@gmail.com>
Fix grep too slow when ignore_case

Signed-off-by: Bao Haojun <baohaojun@gmail.com>
Make beagrep-files more robust

Signed-off-by: Bao Haojun <baohaojun@gmail.com>
dump gtags

Signed-off-by: Bao Haojun <baohaojun@gmail.com>
usability

Signed-off-by: Bao Haojun <baohaojun@gmail.com>
Make sure the .logs dir exists

Signed-off-by: Bao Haojun <baohaojun@gmail.com>
Allow more flexibility for beagrep args

Used in search-asdk

Signed-off-by: Bao Haojun <baohaojun@gmail.com>