I need to concatenate records that match the first field - it's delimited by space. Data is sorted and can have instances of 1-5 records to be concatenated. I.E.https://www.dropbox.com/s/hj6myrr9yqk5uu7/data.txt?dl=0
I speak UNIX C and Progress RDBMS but am curious about Perl's abilities. Invoking the code can be as simple as type infile > perl proc.pl > outfile or perl proc.pl infile outfile dealer's choice, but flexibility is valued.123 abc 123 32434 123 sdfd becomes 123 abc 123 32434123 sdfd
In reply to Concatenate records by Shalmaneser
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |