new-words

diff misc/notes2anki.pl @ 64:c3adf6452eda

lingvo-en-ru.pl script moved to misc/
author Igor Chubin <igor@chub.in>
date Sat Nov 12 14:03:54 2011 +0100 (2011-11-12)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/misc/notes2anki.pl	Sat Nov 12 14:03:54 2011 +0100
     1.3 @@ -0,0 +1,8 @@
     1.4 +while(<>) {
     1.5 +    s/\@\S*//;
     1.6 +    s/;/,/g;
     1.7 +    my ($word, $notes) = split(/\s+/, $_, 2);
     1.8 +    if ($notes) {
     1.9 +        print $word,"   ;   ", $notes;
    1.10 +    }
    1.11 +}