Inspired by this
node I thought a golf challenge of handling sentence case would be a lark.
Rules:
English sentences
must work on one or more sentences
capitalize the first word in a sentence
capitalize single I's
to keep it simple, only periods for ending punctuation
obviously proper names don't count
and to start it off
00000000011111111112222222222333333333344444444445
12345678901234567890123456789012345678901234567890
$_=join'. ',map{ucfirst}split/\. /,lc;s/\bi\b/I/g;
this is my first golf so hopefully I won't be too embarrassed with a score of 50
grep
Unix - where you can throw the manual on the keyboard and get a command |