Join, Sequence Number, and Two Ouputs
Posted on 2000-04-04
You have an input file with over a million lines like so :
The first ouput file:
Assigns a sequence number to each line that is unique, combines the first three fields into one, only uses the last two digits of field 2, defaults the ouput of 2 to 99 if is is blank, puts a "_" after field 2, and also prints out field 6.
the above line would be:
The second output file assigns a sequence number if fields 4,5,6,7,8,9,10 are unique.
For example the ouput would be:
How would u write this in perl
Any help appreciated: