glark offers grep-like searching of text files, with very powerful, complex regular expressions (e.g., "/foo\w+/ and /bar[^\d]*baz$/ within 4 lines of each other"). It also highlights the matches, displays context (preceding and succeeding lines), does case-insensitive matches, and automatic exclusion of non-text files. It supports most options from the GNU version of grep.
| Tags | Text Processing Filters Utilities General |
|---|---|
| Licenses | LGPL |
| Operating Systems | OS Independent |
| Implementation | Ruby |
Recent releases


Changes: Short option names (e.g., --inv instead of --invert-match) are now supported. A significant amount of code was rewritten for better execution speed.


Changes: Support was added for --with-fullname, --without-fullname, --with-basename, and --without-basename, which limit the files to be searched to those with full and base names matching the regular expression given. A bug with --after and --before taking non-percentage arguments was fixed.


Changes: A bug was fixed with the --and option, which was previously getting the closest paired match, not the farthest one within the maximum distance. Tests were added, and significant refactoring was done.


Changes: A bug in the --invert-match (-v) option was fixed. A check for recursive cycles caused by links was added.


Changes: The --label option has been fixed to take any string, instead of just one word. Warning output for unknown options has been fixed.