News for hackers. Stuff that matters.
Re:Debian Running on Rust Coreutils by ses1984 on Tuesday March 09, 2021 @08:47AM (#26398687)
You can solve `-rHInE` with just an alias though.
Re:Debian Running on Rust Coreutils by shakow on Tuesday March 09, 2021 @09:07AM (#26398842)
Then you go back to incompatibility.
Re:Debian Running on Rust Coreutils by vbernat on Tuesday March 09, 2021 @09:29AM (#26399070)
Aliases are only active in your interactive shell.
Re:Debian Running on Rust Coreutils by shakow on Tuesday March 09, 2021 @10:23AM (#26399611)
Exactly, if grep behaves differently in your scripts and your shell, there's no point in not using ripgrep (or ag, or silver searcher, or whatever strikes your fancy).
Re:Debian Running on Rust Coreutils by andoriyu on Tuesday March 09, 2021 @02:34PM (#26402965)
The difference is - your script works out of the box, or you need to install ripgrep.
Re:Debian Running on Rust Coreutils by orra on Tuesday March 09, 2021 @10:12AM (#26399511)
True, but then you have the occasional headscratcher that the command behaves differently in your script than when you run it manually.