Steve Bertrand wrote:
Adam Vande More wrote:
I also tried escaping ( ) . / to no avail.
nevermind I see I have to \\ that as well. Okay now I'm going to try to
find a way to do this with find and xargs
IMHO, this has become a job for Perl :)
Steve
Thanks for help everyone. My final command was this:
skynet1# find . -name 'filename.php' | xargs sed -i.old -e '37a\\
include("/usr/home/www/imp-sites/default_inventory.php");'
I used double quotes because I couldn't finger out how to the single
quote. Good enough for me.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"