the_silver_searcher
the_silver_searcher copied to clipboard
A code-searching tool similar to ack, but faster.
I found that I am unable to search files for a series of hyphens. The `ag` command confuses the hyphens for command like options. Below is an example: ``` 20211210...
I tried ag on 10 Gb text file and got error: ``` $ ag 'something' Keywords.txt ERR: Error stat()ing: Keywords.txt ERR: Skipping Keywords.txt: Error fstat()ing file. ``` `grep ` works...
Hi, I would like to always omit a specific directory from ag searches, hopefully by adding it to ~/.agignore. Consider the following structure: ``` $ cd ~ $ ag -l...
$ grep -Rni state Binary file Block4-graphtheory/Block-4.pdf matches Binary file Block3-basiccombinatorics/Unit-2.pdf matches Binary file Block3-basiccombinatorics/Unit-4.pdf matches Binary file Block3-basiccombinatorics/Unit-1.pdf matches Binary file Block3-basiccombinatorics/Block-3.pdf matches Binary file Block3-basiccombinatorics/Unit-3.pdf matches Binary file...
If there's some minified Javascript, `ag` behaves badly when both `-W` and `-C` are included for example: ```command > ag Schema redoc.standalone.js -W 20 22:var r=function(e,t){ [...] 29:var r=n(321),o=n(322 [...]...
``` $ sudo yum install the_silver_searcher Loaded plugins: priorities dcv | 3.0 kB 00:00:00 firefox | 2.7 kB 00:00:00 No package the_silver_searcher available. Error: Nothing to do ``` I am...
## Problem: ### Expected behavior: When output goes to a pipe, `ag` output should be the same whether it's invoked from a subshell or not ### Actual behavior: When invoked...
Added Clear Linux OS install instructions.
https://github.com/ggreer/the_silver_searcher/wiki/Advanced-Usage#ignoring-files currently does not link to gitignore There's a brief note already that > `.ignore` uses the same patterns as `.gitignore` and `.hgignore`. This could be elaborated further. Some ideas:...