perl -i -p -e 's/ORIGINAL_TEXT/REPLACEMENT_TEXT/g;' FILE_OR_FILES_TO_OVERWRITE
-i" option causes perl to overwrite the original file (it means modify "in place"). You may want to take it out and test it first, because this is NOT reversible and it's easy to ruin a lot of files this way.
find /YOUR/DIRECTORY/PATH/TO/CVS -name "#cvs.lock*" -print | xargs rm -rfd
rm commands are incredibly dangerous.
cat YOURFILE | sed = | sed 'N;s/\n/\t/' > OUTPUT_FILE
\t with something else (perhaps a : or space).