by b5n · 2y ago · 0 comments
awk '/mail/ && NR <= 500 {...}' access.log
awk '/mail/ && i < 500 {i++; ...}' access.log