|
|
Log in / Subscribe / Register

GNU grep's new features (Linux.com)

GNU grep's new features (Linux.com)

Posted Jun 1, 2006 20:53 UTC (Thu) by nix (subscriber, #2304)
In reply to: GNU grep's new features (Linux.com) by elanthis
Parent article: GNU grep's new features (Linux.com)

--only-matching's code is 24 lines long. Bloat? Not hardly.

As for grep -P, it's implemented using PCRE, so no bloat at all.

(Of course there will never be a pgrep or `prep' (ugh) as suggested in the article: egrep and fgrep are *already* obsolete, with grep -E and grep -F their preferred forms. Introducing more obsoleteness on top seems... peculiar.)


The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:

Note: you can avoid this step in the future by logging into your LWN account.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds