How to print the second line of a 3 line pattern in a text file using unix tool?

前端 未结 0 367
逝去的感伤
逝去的感伤 2021-01-17 14:50

my file looks like this:

line I don\'t want
line I want
line I don\'t want
Repeat this 3 line pattern 4000 times.

I imagine sed or awk can do

相关标签:
回答
  • 消灭零回复
提交回复
热议问题