sed regular expression help needed
I am trying to make a sed script and have a question about doing a search and replace. I want to search for a word that starts with either upper or lower case (I know how to do that) and then replace it with another word that's first letter is of the same case as the original.
i.e. Smart becomes Dumb and smart becomes dumb.
Is there an easy way to do this with a one line command?
Thanks for the help!!!