summaryrefslogtreecommitdiff
path: root/gi/pipeline/scripts/rekey.pl
blob: 31eb86b84291ff25370b1a56582c533de071f7d2 (plain)
1
2
3
4
5
6
7
8
#!/usr/bin/perl

while(<>) {
  my ($lhs, $f, $e, $s) = split / \|\|\| /;
  $f =~ s/\[X[0-9]+\]/\[X\]/g;
  print "$f\t$_";
}