new-words

annotate misc/notes2anki.pl @ 65:5a003076eb11

-w for web support (alpha)
author Igor Chubin <igor@chub.in>
date Tue Mar 27 14:09:25 2012 +0200 (2012-03-27)
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 }