How can I unsubscribe this?
 
Judy> Date: Fri, 21 Nov 2008 10:45:33 +0100> From: [EMAIL PROTECTED]> To: 
rubyonrails-talk@googlegroups.com> Subject: [Rails] Re: how to run linux 
command in rake file> > > Vamsi Krishna wrote:> > hi all,> > > > i need to grep 
a word count from a text file and i want to display the> > count.> > i need all 
the above in a rake file , i tried it by using> > > > today_count= system("grep 
-R 'time' oct_10.txt | grep -R 'hi' | wc> > -l")> > puts "today count is 
:#{today_count}"> > > > but today_count returns 'true' instead of count.> > > > 
> > plz reply ASAP.> > > > > > Thanks..> > --vamsi.> > > Vamsi,> I think here 
you using 'time' is a variable, instead of using that > variable try to append 
that var by using '<<'> > --nan> > > -- > Posted via 
http://www.ruby-forum.com/.> > 
_________________________________________________________________
AirNZ vs Pacific Blue & heaps more! Book now.
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fadsfac%2Enet%2Flink%2Easp%3Fcc%3DHOT056%2E76008%2E0%26clk%3D1%26creativeID%3D108913&_t=773821977&_r=HoT_tagline&_m=EXT
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to