you could do something like the following...
Code:
#!/bin/ksh
for file in $(find . -type f -exec grep -l sqlplus.*\@ {} \;); do
echo ${file}
sed -e 's%sqlplus user/pword@sid%sqlplus newuser/newpword@newsid%g' < ${file} > ${file}.$$
mv ${file}.$$ ${file}
done
replace user, pword, sid with the current
replace newuser, newpword,newsid with replacement
run from parent directory, you should back up everything first
