4 ms·
You can solve `-rHInE` with just an alias though.
by ses1984 6y ago
You can solve `-rHInE` with just an alias though.
- shakow 6y agoThen you go back to incompatibility.
- vbernat 6y agoAliases are only active in your interactive shell.
- orra 6y agoTrue, but then you have the occasional headscratcher that the command behaves differently in your script than when you run it manually.
- shakow 6y agoExactly, 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).
- andoriyu 6y agoThe difference is - your script works out of the box, or you need to install ripgrep.