shell script to cap first letter?

Gary Kline kline at thought.org
Sat Mar 20 00:45:03 UTC 2010


guys,

i'm wondering if there is a script that i could run my plaintext
files thru that would capitalize thef first letter of each
sentence [[ assuming the character wasn't already a cap!]]

more and more, in recent years, i have posted questions or
written things that have been sloppily or casually hacked
together in all lower case.  this filter would have to determine
what was and was not a sentence.  or a sentence fragment.  
[ai]spell can catch "i've" and suggest "I've", etc.  

ideas?

-- 
 Gary Kline  kline at thought.org  http://www.thought.org  Public Service Unix
        http://jottings.thought.org   http://transfinite.thought.org
    The 7.79a release of Jottings: http://jottings.thought.org/index.php



More information about the freebsd-questions mailing list