3 ms·
"Look at that one character shorter than grep and just as easy." Well, let's apply that same criteria to searching for two terms: > grep needle haystack|grep
by ClayM 14y ago
"Look at that one character shorter than grep and just as easy."
Well, let's apply that same criteria to searching for two terms:
> grep needle haystack|grep silver
> ack '(?=silver).*needle' haystack
Look at that one character shorter than ack and just 10 times easier.
grep wins, by a knockout.