Rewriting the GNU Coreutils in Rust
Rewriting the GNU Coreutils in Rust
Posted Jun 9, 2021 21:23 UTC (Wed) by wahern (subscriber, #37304)In reply to: Rewriting the GNU Coreutils in Rust by Sesse
Parent article: Rewriting the GNU Coreutils in Rust
> I'm not 100% sold on its grouping output, and sometimes, it skips files it shouldn't, but doing “rg foo” and having it do -r by default, skip .o files etc. is actually better than the behavior I came to get used to over 20 years with GNU grep.
That sounds very nice from the standpoint of interactive use. But for non-interactive scripting such behaviors violate numerous best practices, and are neither particularly convenient, consistent, nor safe. This is a common story for tools like ripgrep.
