Brian McKee wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello all,
This issue must be familiar to at least somebody....
I get text files that are ALL UPPERCASE and formatted to an odd line
width from an internal email system.
I'd like to pretty them up. Has somebody come up with a slick way to
do this?
I suppose I could remove all line endings not preceded by a period,
replace period space space with period return,
lowercase the whole thing, then uppercase the start of each line and any
free standing 'I',
but I'm sure I'm forgetting something else that would be needed as well.
Suggestions appreciated
Brian
Proper nouns -- not that I'd know how to uppercase them automagically. Also,
you'd have to make a choice about uppercasing or not for
He's greater than I.
i. Buttons.
ii. Thread.
iii. Needles.
iv. Thimble, jingles and rattles.
Best regards,
Tony.