logoalt Hacker News

Paracompacttoday at 7:29 AM1 replyview on HN

`grep -P` kinda annoying. GNU has Perl-compatible regex, and BSD does not. You're reaching for `perl` or installing `ggrep` the moment you need a lookbehind.


Replies

kybernetyktoday at 9:01 AM

BSD grep is the pure grep version though. Perl regex is unnecessary bloat.