Question: is awk faster than grep?
Answer: When only searching for strings, and speed matters, you should almost always use grep . It's orders of magnitude faster than awk when it comes to just gross searching. While I agree that in theory grep should be faster than awk , in practice, YMMV as that depends a lot on the implementation you use.