new-words

view misc/notes2anki.pl @ 67:87bb1c5e6616

added de script to misc/
author Igor Chubin <igor@chub.in>
date Wed Mar 28 15:54:30 2012 +0200 (2012-03-28)
parents
children
line source
1 while(<>) {
2 s/\@\S*//;
3 s/;/,/g;
4 my ($word, $notes) = split(/\s+/, $_, 2);
5 if ($notes) {
6 print $word," ; ", $notes;
7 }
8 }