in reply to Re: process multiline text and print in desired format
in thread process multiline text and print in desired format

Thanks Ken, Appreciate you putting time to write code and putting relevant notes to explain in detail. I will embrace the 3-argument form of open and other recommendations.
  • Comment on Re^2: process multiline text and print in desired format