website
website copied to clipboard
The source code for the beyondgrep.com website
re https://github.com/beyondgrep/ack3/issues/234 and 325 (and ack2 rollover) Better workaround for minified JS multi-screenful-lines that aren't properly named as `${file}.min.js` so as ignorable, or that needs to be searched because one...
re `feature-comparison/index.html` per https://github.com/beyondgrep/ack3/issues/234 https://github.com/beyondgrep/ack3/issues/325 and old ack2 https://github.com/beyondgrep/ack2/issues/596 , ability to horizontally limit context to larger than `-o` but smaller than whole "line" (which can be thousands with wrapped...
Hi, [ast-grep](https://ast-grep.github.io/) is a code tool that performs the structural search and replace. Some features that make it unique * it searches abstract syntax trees instead of text * it...
ack 3, currently in development, will include a cookbook of examples for folks to try. Here's an example: Find "goats" in every file that also contains "cows" ack -l cows...
`git grep -o` (`git grep --only-matching`) has been able to print only the matched parts of a line since [v2.19.0 released in 2018](https://web.archive.org/web/20230313182235id_/git.kernel.org/pub/scm/git/git.git/commit/?id=9d8db06eb4a5d5577db559a0059a377914c1ce5a), but [beyondgrep.com doesn’t say so](https://archive.today/2023.03.13-181115/https://beyondgrep.com/feature-comparison/#selection-1919.0-1962.0).
`git grep -o` (`git grep --only-matching`) has been able to print only the matched parts of a line since [v2.19.0 released in 2018](https://git.kernel.org/pub/scm/git/git.git/commit/?id=9d8db06eb4a5d5577db559a0059a377914c1ce5a). This commit may fix #133.
(re https://github.com/beyondgrep/ack3/issues/366 ) CPAN [App-CSVUtils](https://metacpan.org/dist/App-CSVUtils) provides [csv-grep](https://metacpan.org/dist/App-CSVUtils/view/script/csv-grep) for searching delimited files. (CSV might also be covered in CookBook #103 , via `Text::CSV` or **awk**)
As far as I know no other grep implementation can do this: $ ./pcre2grep -M 'Copyright(\n|.)*Copying' INSTALL Copyright (C) 1994-1996, 1999-2002, 2004-2016 Free Software Foundation, Inc. Copying and distribution of...
Currently the single-file version is at https://beyondgrep.com/ack-v3.5.0. Could you maintain a link to the current version at something like https://beyondgrep.com/ack-current for automating updates for those of us using this version?