Thread
:
Search and Replace on Unix
View Single Post
06-20-2004, 11:34 PM
mullah
Registered User
Join Date: Jun 2004
Location: oregon
Posts: 9
Perhaps:
find . -type f | while read file; do perl -pe 's/FINDTHISTEXT/REPLACEITWITHTHIS/g' -i "$file"; done
You should probably test it out, because I didn't.
mullah
View Public Profile
Visit mullah's homepage!
Find More Posts by mullah