waiting_for_OSX
Registered
What is wrong with this bash command?
$ sed -i 's/localhost/myurl/g' myfile.php
sed: 1: "myfile.php": command a expects \ followed by text
Why doesn't this work to replace localhost with myurl in all php files?
$ sed -i 's/localhost/myurl/g' *.php
sed: 1: "myfile.php": command a expects \ followed by text
I'm using Snow Leopard.
$ sed -i 's/localhost/myurl/g' myfile.php
sed: 1: "myfile.php": command a expects \ followed by text
Why doesn't this work to replace localhost with myurl in all php files?
$ sed -i 's/localhost/myurl/g' *.php
sed: 1: "myfile.php": command a expects \ followed by text
I'm using Snow Leopard.