Linux.com

Re:Introducing features from AWK into egrep is sil

Posted by: Anonymous Coward on June 01, 2006 10:33 AM
We KNOW it exists, thank you very much. Why did people write that many text editors, compilers, assembler, browsers, anything? There's choice. Use it, if you want, or don't. It's your problem.

Awk/gawk can do so much more. Sure, we agree. We KNOW! Grep is for a single purpose, and it does it's job well. Using awk/gawk is overkill for most things. grep is succint in it's syntax and it's optimized to do just this. Use it.

Besides, run a grep on a couple of thousand files with a few hundred thousand lines in them each, and then run awk on it. Compare the time difference (See man time).

Tell a Unix guru you know to use awk to do what grep can, and he/she will laugh himself/herself hoarse.

#

Return to GNU grep's new features