Front page | perl.beginners |
Postings from April 2012
From: Anamika K
April 4, 2012 05:58
Message ID: CAMJvBgVTkk1R+-je0+==hU+TBYxAts_En_w09bA5gU7ZwfOMLg@mail.gmail.com
I have a file like this:
and want output like this:
I am using split function first to separate column 1 with column 2 and
then based upon "comma" I need to split column 1. But as you can see,
in the column 1, there are sometimes more than two patterns separated
by comma, so I am unable to do it in a correct way.
Could you please suggest my how to proceed?