Hi All,

I have a problem to extract data from a text file. My file looks like

*KEYWORD
10. 30. 50.
40. 50. 60.
0. 15. 25.
llllllll

KEYWORD
11. 31. 50.
40. 51. 60.
0. 15. 26.
llllllll*

My aim is to extract second datapoint by using first keyword. I waa using awk.

Thanks in advance
Sudipta

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.