7 ms·
> I don't know ag and it's not a package in Debian. You're in for a treat then: the package name is "silversearcher-ag". Next time you want to grep a director
by yoo1I 10y ago
> I don't know ag and it's not a package in Debian.
You're in for a treat then: the package name is "silversearcher-ag".
Next time you want to grep a directory of files: instead of grepping it, pause, remember this comment, install it and then do "ag <searchterm>" instead.
It's quite a bit faster. Well, lots faster.
- softawre 10y agofaster still: https://github.com/BurntSushi/ripgrep https://github.com/BurntSushi/ripgrep
- e12e 10y agoInteresting. This probably the first utility in Rust I'm aware of that looks like it might belong on a production system (other than "cargo" and other rather excellent rust tooling). Nice way to show off rusts regular expression engine too.
- luibelgo 10y agoGolang flavour https://github.com/monochromegane/the_platinum_searcher https://github.com/monochromegane/the_platinum_searcher
- deleted 10y ago[deleted]
- lucb1e 10y agoThanks! I installed it a and aliased grep to 'echo Try ag'.