hi, sorry my mistake.. i have correct that "sed -i s/COLOR/CLR/g /path/to/file/for/update" but i'm still getting same error error:-failed: "sh -c 'sed -i s/COLOR/CLR/g /path/to/file/for/update" on 192.168.x.x
please help.. thanks sawan On Aug 12, 9:20 pm, Manuel Vázquez Acosta <[email protected]> wrote: > 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 > > > > manuelva.vcf > < 1KViewDownload -- * 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
