├── .clang-format ├── .gitignore ├── .travis.yml ├── CONTRIBUTING.md ├── LICENSE ├── Makefile.am ├── Makefile.w32 ├── NOTICE ├── README.md ├── _the_silver_searcher ├── ag.bashcomp.sh ├── autogen.sh ├── configure.ac ├── doc ├── ag.1 ├── ag.1.md └── generate_man.sh ├── format.sh ├── m4 └── ax_pthread.m4 ├── pgo.sh ├── sanitize.sh ├── src ├── decompress.c ├── decompress.h ├── ignore.c ├── ignore.h ├── lang.c ├── lang.h ├── log.c ├── log.h ├── main.c ├── options.c ├── options.h ├── print.c ├── print.h ├── print_w32.c ├── scandir.c ├── scandir.h ├── search.c ├── search.h ├── uthash.h ├── util.c ├── util.h ├── win32 │ └── config.h └── zfile.c ├── tests ├── adjacent_matches.t ├── bad_path.t ├── big │ ├── big_file.t │ └── create_big_file.py ├── case_sensitivity.t ├── color.t ├── column.t ├── count.t ├── ds_store_ignore.t ├── empty_environment.t ├── empty_match.t ├── exitcodes.t ├── fail │ ├── unicode_case_insensitive.t │ └── unicode_case_insensitive.t.err ├── files_with_matches.t ├── filetype.t ├── hidden_option.t ├── ignore_abs_path.t ├── ignore_absolute_search_path_with_glob.t ├── ignore_backups.t ├── ignore_examine_parent_ignorefiles.t ├── ignore_extensions.t ├── ignore_gitignore.t ├── ignore_invert.t ├── ignore_pattern_in_subdirectory.t ├── ignore_slash_in_subdir.t ├── ignore_subdir.t ├── ignore_vcs.t ├── invert_match.t ├── is_binary.pdf ├── is_binary_pdf.t ├── line_width.t ├── list_file_types.t ├── literal_word_regexp.t ├── max_count.t ├── multiline.t ├── negated_options.t ├── one_device.t ├── only_matching.t ├── option_g.t ├── option_smartcase.t ├── passthrough.t ├── pipecontext.t ├── print_all_files.t ├── print_end.t ├── print_end.txt ├── search_stdin.t ├── setup.sh ├── stupid_fnmatch.t.disabled ├── vimgrep.t └── word_regexp.t └── the_silver_searcher.spec.in /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/.clang-format -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/.travis.yml -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile.am: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/Makefile.am -------------------------------------------------------------------------------- /Makefile.w32: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/Makefile.w32 -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/NOTICE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/README.md -------------------------------------------------------------------------------- /_the_silver_searcher: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/_the_silver_searcher -------------------------------------------------------------------------------- /ag.bashcomp.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/ag.bashcomp.sh -------------------------------------------------------------------------------- /autogen.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/autogen.sh -------------------------------------------------------------------------------- /configure.ac: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/configure.ac -------------------------------------------------------------------------------- /doc/ag.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/doc/ag.1 -------------------------------------------------------------------------------- /doc/ag.1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/doc/ag.1.md -------------------------------------------------------------------------------- /doc/generate_man.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/doc/generate_man.sh -------------------------------------------------------------------------------- /format.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/format.sh -------------------------------------------------------------------------------- /m4/ax_pthread.m4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/m4/ax_pthread.m4 -------------------------------------------------------------------------------- /pgo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/pgo.sh -------------------------------------------------------------------------------- /sanitize.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/sanitize.sh -------------------------------------------------------------------------------- /src/decompress.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/src/decompress.c -------------------------------------------------------------------------------- /src/decompress.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/src/decompress.h -------------------------------------------------------------------------------- /src/ignore.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/src/ignore.c -------------------------------------------------------------------------------- /src/ignore.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/src/ignore.h -------------------------------------------------------------------------------- /src/lang.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/src/lang.c -------------------------------------------------------------------------------- /src/lang.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/src/lang.h -------------------------------------------------------------------------------- /src/log.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/src/log.c -------------------------------------------------------------------------------- /src/log.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/src/log.h -------------------------------------------------------------------------------- /src/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/src/main.c -------------------------------------------------------------------------------- /src/options.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/src/options.c -------------------------------------------------------------------------------- /src/options.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/src/options.h -------------------------------------------------------------------------------- /src/print.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/src/print.c -------------------------------------------------------------------------------- /src/print.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/src/print.h -------------------------------------------------------------------------------- /src/print_w32.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/src/print_w32.c -------------------------------------------------------------------------------- /src/scandir.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/src/scandir.c -------------------------------------------------------------------------------- /src/scandir.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/src/scandir.h -------------------------------------------------------------------------------- /src/search.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/src/search.c -------------------------------------------------------------------------------- /src/search.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/src/search.h -------------------------------------------------------------------------------- /src/uthash.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/src/uthash.h -------------------------------------------------------------------------------- /src/util.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/src/util.c -------------------------------------------------------------------------------- /src/util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/src/util.h -------------------------------------------------------------------------------- /src/win32/config.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/src/win32/config.h -------------------------------------------------------------------------------- /src/zfile.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/src/zfile.c -------------------------------------------------------------------------------- /tests/adjacent_matches.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/adjacent_matches.t -------------------------------------------------------------------------------- /tests/bad_path.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/bad_path.t -------------------------------------------------------------------------------- /tests/big/big_file.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/big/big_file.t -------------------------------------------------------------------------------- /tests/big/create_big_file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/big/create_big_file.py -------------------------------------------------------------------------------- /tests/case_sensitivity.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/case_sensitivity.t -------------------------------------------------------------------------------- /tests/color.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/color.t -------------------------------------------------------------------------------- /tests/column.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/column.t -------------------------------------------------------------------------------- /tests/count.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/count.t -------------------------------------------------------------------------------- /tests/ds_store_ignore.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/ds_store_ignore.t -------------------------------------------------------------------------------- /tests/empty_environment.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/empty_environment.t -------------------------------------------------------------------------------- /tests/empty_match.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/empty_match.t -------------------------------------------------------------------------------- /tests/exitcodes.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/exitcodes.t -------------------------------------------------------------------------------- /tests/fail/unicode_case_insensitive.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/fail/unicode_case_insensitive.t -------------------------------------------------------------------------------- /tests/fail/unicode_case_insensitive.t.err: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/fail/unicode_case_insensitive.t.err -------------------------------------------------------------------------------- /tests/files_with_matches.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/files_with_matches.t -------------------------------------------------------------------------------- /tests/filetype.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/filetype.t -------------------------------------------------------------------------------- /tests/hidden_option.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/hidden_option.t -------------------------------------------------------------------------------- /tests/ignore_abs_path.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/ignore_abs_path.t -------------------------------------------------------------------------------- /tests/ignore_absolute_search_path_with_glob.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/ignore_absolute_search_path_with_glob.t -------------------------------------------------------------------------------- /tests/ignore_backups.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/ignore_backups.t -------------------------------------------------------------------------------- /tests/ignore_examine_parent_ignorefiles.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/ignore_examine_parent_ignorefiles.t -------------------------------------------------------------------------------- /tests/ignore_extensions.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/ignore_extensions.t -------------------------------------------------------------------------------- /tests/ignore_gitignore.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/ignore_gitignore.t -------------------------------------------------------------------------------- /tests/ignore_invert.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/ignore_invert.t -------------------------------------------------------------------------------- /tests/ignore_pattern_in_subdirectory.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/ignore_pattern_in_subdirectory.t -------------------------------------------------------------------------------- /tests/ignore_slash_in_subdir.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/ignore_slash_in_subdir.t -------------------------------------------------------------------------------- /tests/ignore_subdir.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/ignore_subdir.t -------------------------------------------------------------------------------- /tests/ignore_vcs.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/ignore_vcs.t -------------------------------------------------------------------------------- /tests/invert_match.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/invert_match.t -------------------------------------------------------------------------------- /tests/is_binary.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/is_binary.pdf -------------------------------------------------------------------------------- /tests/is_binary_pdf.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/is_binary_pdf.t -------------------------------------------------------------------------------- /tests/line_width.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/line_width.t -------------------------------------------------------------------------------- /tests/list_file_types.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/list_file_types.t -------------------------------------------------------------------------------- /tests/literal_word_regexp.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/literal_word_regexp.t -------------------------------------------------------------------------------- /tests/max_count.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/max_count.t -------------------------------------------------------------------------------- /tests/multiline.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/multiline.t -------------------------------------------------------------------------------- /tests/negated_options.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/negated_options.t -------------------------------------------------------------------------------- /tests/one_device.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/one_device.t -------------------------------------------------------------------------------- /tests/only_matching.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/only_matching.t -------------------------------------------------------------------------------- /tests/option_g.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/option_g.t -------------------------------------------------------------------------------- /tests/option_smartcase.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/option_smartcase.t -------------------------------------------------------------------------------- /tests/passthrough.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/passthrough.t -------------------------------------------------------------------------------- /tests/pipecontext.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/pipecontext.t -------------------------------------------------------------------------------- /tests/print_all_files.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/print_all_files.t -------------------------------------------------------------------------------- /tests/print_end.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/print_end.t -------------------------------------------------------------------------------- /tests/print_end.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/print_end.txt -------------------------------------------------------------------------------- /tests/search_stdin.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/search_stdin.t -------------------------------------------------------------------------------- /tests/setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/setup.sh -------------------------------------------------------------------------------- /tests/stupid_fnmatch.t.disabled: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/stupid_fnmatch.t.disabled -------------------------------------------------------------------------------- /tests/vimgrep.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/vimgrep.t -------------------------------------------------------------------------------- /tests/word_regexp.t: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/tests/word_regexp.t -------------------------------------------------------------------------------- /the_silver_searcher.spec.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ggreer/the_silver_searcher/HEAD/the_silver_searcher.spec.in --------------------------------------------------------------------------------