in reply to process multiline text and print in desired format

Hi welcome to the monastery! :)

TIMTOWTDI ...

... e.g. you could adapt this flip-flop solution to your needs.

update

with

HTH :)

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

  • Comment on Re: process multiline text and print in desired format