From: Brian Candler Date: 2009-01-23T20:52:48+09:00 Subject: Re: Remotely passing value on system() or %x[] Naresh Ramaswamy wrote: > Observed that ruby outputs them into next line :( > Please let me know the solution for the same. String#chomp i.e. $filename = rio('some.txt').lines[0..0].chomp ... etc -- Posted via http://www.ruby-forum.com/.