Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Ahn, Ki Yung <kyagrd <at> gmail.com>
Subject: ANN: memscript-0.0.0.2 (Command line utility for memorizing scriptures or any other text)
Newsgroups: gmane.comp.lang.haskell.cafe
Date: Thursday 4th June 2009 07:40:09 UTC (over 8 years ago)
memscript:
Command line utility for memorizing scriptures or any other text

http://hackage.haskell.org/cgi-bin/hackage-scripts/package/memscript

"memscript "

Run memscript with a UTF-8 (or ASCII since ASCII is a subset of UTF8)
plain text file.  Try to exactly guess the text line by line.  If
your guess is wrong it will show you a diff like output comparing
your guess and the original verse.  This will repeat until you get
all the verses right.

For the test data I included four beloved Psalms (1,23,121,127)
from the Old Testament, each in Revised Korean Version (RKV) and
New International Version (NIV), which I happened to have had to
memorize.  You can use it for any other text you'd want to memorize,
such as your favorite poems, quotes, or whatsoever.

No craft or ticks, really simple and straightforward utility but
serves well for the purpose.  I used readline because that was
the only sane way I know of handling multibyte inputs.



==== an example usage ====

[email protected]:~/cscs/memscript$ memscript 001en.txt
% Blessed is the man who does not walk in the counsel of the wicked or
stand in the way of sinners or sit in the seat of mockers.
% But his delight is in the law of the LORD, and on his law he meditates
night and day.
===
< But his delight is in the law of the LORD, and on his law he meditates
day and night.
---
> But his delight is in the law of the LORD, and on his law he meditates
night and day.
===
% But his delight is in the law of the LORD, and on his law he meditates
day and night.
% He is like a tree planted by streams of water, which yields its fruit
in season and whose leaf does not wither. Whatever he does prospers.
% Not so the wicked! They are like chaff that the wind blows away.
% The wicked will not stand in the judgment, nor sinners in the assembly
of the righteous.
===
< Therefore the wicked will not stand in the judgment, nor sinners in
the assembly of the righteous.
---
> The wicked will not stand in the judgment, nor sinners in the assembly
of the righteous.
===
% Therefore the wicked will not stand in the judgment, nor sinners in
the assembly of the righteous.
% For the LORD watches over the way of the righteous, but the way of the
wicked will perish.
[email protected]:~/cscs/memscript$
 
CD: 3ms