Sawan,

You need to read the sed manual in other to complete my mock-up. The sed command won't work with '...', I just meant that it should be completed. Maybe you can even accomplish the substitution using python, perl, or ruby itself; and bypassing the need of sed. But I'd recommend you master some of these tools: grep, sed, and awk.

Best regards,
Manuel.

On 08/12/2011 08:57 AM, sawan talreja wrote:
i added this like

before "deploy:symlink" do
run<<-CMD
sed  s/COLOR/CLR/ ...>  /path
CMD
end

but when i execute cap deploy

It shows this error:-failed: "sh -c 'sed  s/COLOR/CLR/ ...>  /path'" on
192.168.x.x


--
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

<<attachment: manuelva.vcf>>

Reply via email to