Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
grep nth line after match
Гульшат Идильгужина
Programming language:
Whatever
2021-08-09 15:09:14
0
Q:
grep nth line after match
user80042
Code:
Whatever
2021-08-30 15:12:06
awk 'c&&!--c;/pattern/{c=N}' file
0
Tags
line
Related
grep after match
grep without match
grep first occurence for many matches
grep not match
New to Communities?
Join the community