Batch processing to search and replace in all posts

remap does a search and replace on text and char columns across all tables - a little rough of a tool. Also, how would the rawcooked conversion be handled?

Is there a higher-level way of altering and rebaking posts, that would take into account things like re-computing excerpts, quoted posts and reply relationships? The latter are especially important when fixing the quote line after the import.