Created
February 19, 2010 10:13
-
-
Save hegge/308602 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
# Use: cat file | ./filter.pl > new_file | |
while(<>) { | |
if (/^(\w+(\\\w+)*)\\(\w+)\t(\w+)$/) { | |
print "$1;$3;$4\n"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment