ack3
ack3 copied to clipboard
ack is a grep-like search tool optimized for source code.
There's no way to produce the same output as grep: ``` grep -H ^root: /etc/passwd /etc/passwd:root:*:0:0:System Administrator:/var/root:/bin/sh ack --no-heading -H ^root: /etc/passwd /etc/passwd:12:root:*:0:0:System Administrator:/var/root:/bin/sh ``` This PR fixes lets you:...
The following seems inconsistent: ``` ack ^root: --output='Matched line $. of file $f' /etc/passwd /dev/null /etc/passwd
For example, something like `ack -m one -m two` would match all lines that contain "one" or "two" Prior work exists in `git grep` in the form of `--and`, `--or`,...
Since hard linked files are identical, search results from them will always be duplicates. It'd be a nice power tool feature to ignore all but one of them by default....
I think we might be able to get rid of `--type-set` option, since it is only used to overwrite a previous definition for a type, and that can be done...
I have to switch back and forth between `ack` on my latop and lots of services that only have `grep`. Compatibility with `grep` is a valued feature. So it would...
after and end are not working together here as suggested Or to search after Perl's `__DATA__` or `__END__` markers, you would do ack pattern --range-end='^__(END|DATA)__'
If I specify `$ ack foo -` then ack should search standard input. If it finds a file called `-` in the root of the tree, it shouldn't hang waiting...
Take this simple file "test.txt" : 1 file found? 2 files found? 24 files found? No files found. And this simple query : ack 's ' --color-match='bold rgb500 on_rgb550' 'test.txt'...