Hi all,

I have file whose content is arranged in rows of two lines, each row-pair
separated from the next by a line-space.
I want to rearrange the file in a two-column format such that all the
entries in the first rows in a pair are put in the first column while their
corresponding second rows are put in the second column.

For instance,

Given the content of a file as:

AAAA
BBBB

CCCC
DDDD

EEEE
FFFF

I want it rearranged in the following format using Perl:

AAAA    BBBB
CCCC    DDDD
EEEE    FFFF

I look forward to your assistance.

Regards,
Ken

 
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to