Assign numbers to fields
You are given a list of space-separated strings. Add an increasing numeric prefix to each one.
Start file
CHROM POS ID REF ALT QUAL FILTER INFO FORMAT
End file
0:CHROM 1:POS 2:ID 3:REF 4:ALT 5:QUAL 6:FILTER 7:INFO 8:FORMAT
View Diff
1c1 < CHROM POS ID REF ALT QUAL FILTER INFO FORMAT --- > 0:CHROM 1:POS 2:ID 3:REF 4:ALT 5:QUAL 6:FILTER 7:INFO 8:FORMAT
Solutions by @zudochkin:
Unlock 2 remaining solutions by signing in and submitting your own entry