I hope i've started this in the correct thread.. anyways..
I am trying to do a text replace in unix to all files in a directory
I've tried this
sed -e 's/include\(\"connect/bob' -i *.php
however it gives an error
I'm sure it has to do with the \(\" part..Code:sed: -e expression #1, char 24: unterminated `s' command
Basically i want to replace all include("connect with bob...
And there are too many files to do it manually...
I have no experience with unix.. but i heard i can also use GREP?
Any help would be appreciated.


Reply With Quote
Bookmarks