[Techtalk] script to change uppercase to title case in OFX/QFX

Miriam English mim at miriam-english.org
Wed Nov 30 01:16:09 UTC 2011


Oops! It stuffs up your tags, but you can fix that by translating them 
back again:
sed 's/\(<[^>]*>\)/\U\1/g'

like this:
cat carlaS-example | sed 's/\( *[A-Z]* *\)/\L\u\1/g' | sed 
's/\(<[^>]*>\)/\U\1/g'

Cheers,

	- Miriam

-- 
If you don't have any failures then you're not trying hard enough.
  - Dr. Charles Elachi, director of NASA's Jet Propulsion Laboratory
-----
Website: http://miriam-english.org
Blogs:   http://miriam-e.dreamwidth.org
          http://miriam-e.livejournal.com


More information about the Techtalk mailing list