in reply to Scanning a file for a match, printing different part of the line when found.

How can I print a different part of the line when the string is found?

What have you tried?

  • Comment on Re: Scanning a file for a match, printing different part of the line when found.