search / replace
Below is sort of a script. You can use it to globally replace text
in all files in the entire sub-directory.
sed 's/old-data-you-want-replaced/new-data/g' $file >${file%}.tmp
mv ${file%}.tmp $file
done
Back to SALUG Main Page