I have a large text file with many words in upper case and I want to change
them to mixed case/camel case (the first letter is upper case, the rest are
lower case).  Reading the tr man page suggests that it cannot do this, only
translate all [:upper:] to all [:lower:].

   So, I tried writing a sed script, but my syntax is off:

/s/\([A-Z]\)\([A-Z]+\)/[A-Z]\L\2/g

and sed tells me: "sed: file uptomixed.sc line 1: unknown command: '\'"

   Please show me what I've done incorrectly.

TIA,

Rich
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to