I have a file containeding data (example)

I added the text line1 line2 line3 to the beginning of each line in the
hopes I could do the following.
I appended line1 line2 and line3 files to one file, but now I need to sort
them correctly to send these comands to an API transaction server to alter
data in the database.

first line of line1
first line of line 2
first line of line 3
second line of line1
second line of line2
second line of line3
third line of line1
third line of line2
third line of line3

Data file below is just made up but illustrates the structure

line1^FC12345^IQ
line1^FC12345^LD
line1^FC2345^pq
line2^FC12345^IQ
line2^FC12345^LD
line2^FC2345^pq
line3^FC12345^IQ
line3^FC12345^LD
line3^FC2345^pq

WHEN FINISHED
line1
line2
line3
line1
line2
line3
line1
line2
line3




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to