# HG changeset patch # User Igor Chubin # Date 1320332926 -3600 # Node ID 12abeed4d89f32518dc8d4428dbc5e957644344b # Parent 04b0280aa883110a92c796666400411c4fb3fe11 added notes2anki.pl experimental script diff -r 04b0280aa883 -r 12abeed4d89f misc/notes2anki.pl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/misc/notes2anki.pl Thu Nov 03 16:08:46 2011 +0100 @@ -0,0 +1,8 @@ +while(<>) { + s/\@\S*//; + s/;/,/g; + my ($word, $notes) = split(/\s+/, $_, 2); + if ($notes) { + print $word," ; ", $notes; + } +}