-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 9-Jan-07, at 4:01 PM, A.J.Mechelynck wrote:
Brian McKee wrote:
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.
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.
Yeah, not so simple is it... Hmmm... Well, maybe I'll make a macro
that takes half a try and clean up the rest by hand.
I was hoping this was a 'solved problem'
Thanks for the pointers.
Brian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
Comment: Verify this email or encrypt your email for free - see gnupg.org
iD8DBQFFpV3gGnOmb9xIQHQRAsb4AKDMoNhP4geZeHrVNqgBt0BrazvAAACg4+Hq
H6Ecq18VJIY4CtuV0I9PldU=
=pQ3Y
-----END PGP SIGNATURE-----