new-words

annotate misc/notes2anki.pl @ 68:846240941452

added -C key: compress to lines; fixed bug with #90-line
author Igor Chubin <igor@chub.in>
date Sun Sep 23 16:07:29 2012 +0300 (2012-09-23)
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 }