new-words

annotate misc/notes2anki.pl @ 58:12abeed4d89f

added notes2anki.pl experimental script
author Igor Chubin <igor@chub.in>
date Thu Nov 03 16:08:46 2011 +0100 (2011-11-03)
parents
children
rev   line source
igor@58 1 while(<>) {
igor@58 2 s/\@\S*//;
igor@58 3 s/;/,/g;
igor@58 4 my ($word, $notes) = split(/\s+/, $_, 2);
igor@58 5 if ($notes) {
igor@58 6 print $word," ; ", $notes;
igor@58 7 }
igor@58 8 }