Off topic:Joining 2 Lines Based On First Field
0
0
Entering edit mode
11.7 years ago

Hi i have something like this in a file

12345   aaaaaaaaaabbbbbbbbbb 
23456   bbcbcbbgyhuhuhhhhhhh 
12345   7ijkunmmnniiiiiiii
23456   bbcbcbbgyhuhsdrfrrhhhv

I want to merge lines into a single line based on first field i,e.,

 12345   aaaaaaaaaabbbbbbbbbb 12345   7ijkunmmnniiiiiiii
  23456 bbcbcbbgyhuhuhhhhhhv 23456   bbcbcbbgyhuhsdrfrrhhh

can any one let me know how to do that?

perl unix linux • 1.2k views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 2813 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6