search and replace, unix know-how