in reply to Re: Arrays & Output printing?in thread Arrays & Output printing?
Another version of a one-liner for fun :)
perl -lne 'INIT{$/="END";$,=" "}print /\w+:.*/g' input.txt [download]