diff options
author | redpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-22 20:52:22 +0000 |
---|---|---|
committer | redpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-22 20:52:22 +0000 |
commit | 22b3bffd201fe43cea4c4639bcefc3c0e4746518 (patch) | |
tree | 423ef9fbbb6c516bf06311fe188ff78c8e31a355 /gi/pipeline/scripts/rekey.pl | |
parent | 0732fff632e792ae2268e9ef1c9c230624098eb7 (diff) |
add additional filtering step
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@368 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'gi/pipeline/scripts/rekey.pl')
-rwxr-xr-x | gi/pipeline/scripts/rekey.pl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gi/pipeline/scripts/rekey.pl b/gi/pipeline/scripts/rekey.pl new file mode 100755 index 00000000..31eb86b8 --- /dev/null +++ b/gi/pipeline/scripts/rekey.pl @@ -0,0 +1,8 @@ +#!/usr/bin/perl + +while(<>) { + my ($lhs, $f, $e, $s) = split / \|\|\| /; + $f =~ s/\[X[0-9]+\]/\[X\]/g; + print "$f\t$_"; +} + |