recursive search and replace (grep and sed)