3 ms·
Is \b a new thing to grep? I think you'll need egrep anyway for the alternation pipe symbol. And I'm surprised \b works too. Rather than \b you can just use
by emmelaich 10y ago
Is \b a new thing to grep? I think you'll need egrep anyway for the alternation pipe symbol. And I'm surprised \b works too.
Rather than \b you can just use -w (whole word option).
If those fail, then traditionally grep used \< and \> to mark beginning and end of word respectively.