Global String Replacement
gbrepl is a simple perl utility program used to find and replace a string in multiple files with a single invocation. For example:
[localhost$] perl gbrepl 'RCPT TO' 'SENDTO' *.txt
Replace "RCPT TO" with "SENDTO" (Y,y,N,n) ? y
Replacing in mo_copy_to_email.txt
Replacing in mt_copy_to_email.txt
Replacing in mt_divert_to_email.txt
Replacing in mt.txt
[localhost$]
replaces all occurences of RCPT TO with SENDTO in the listed files.