in reply to Print line from file only once even if occurrence of pattern is more than once in the line
Use next after the first successful match to parse the next line.
Otherwise you should show us some code of what you tried, such that we understand were your problem is.
See also How do I post a question effectively?
|
|---|