3 ms·
grep -m "Stop reading a file after NUM matching lines", while head -10 takes the first 10 lines and searches on them. Different things.
by JetSpiegel 12y ago
grep -m "Stop reading a file after NUM matching lines", while head -10 takes the first 10 lines and searches on them. Different things.
- unhammer 12y agodoh! you're right, I wasn't thinking :-)