http://www.perlmonks.org?node_id=1039570


in reply to Re: arrange output in columns
in thread arrange output in columns

"I might get the bugs out of this later.... "

Here's the 3 missing characters you'll need to fix the script  = { }

but even when fixed it doesn't give the required result for files with different record counts.

Output Required a,2 a,2 b,f b,f c,4 c,4 s ,s w ,w
poj