I got a really big logcat (since 2016) and I'm interested in printing everything (all the rows) after a point (let's say, September). The logcat is really big, so I can't really use tail.
Asked
Active
Viewed 5,756 times
1 Answers
2
To print everything after matching a "needle", using sed:
sed -n '/needle/,$p' filename
Replace needle
with the actual pattern you witch to match at which point in the file to being printing.

DopeGhoti
- 76,081
sed -n '/needle/,$p'
if you don't want to stop at the second needle. – ilkkachu Sep 20 '18 at 19:26