From: Damien WYART Date: 2001-10-10T23:11:01+09:00 Subject: [ruby-talk:22385] Re: [Newbie] Switching from Perl : shuffling * Dave Thomas in comp.lang.ruby: > Ruby leaves the line terminations on when it reads. We specified a > line terminator of "\n%\n", so you get this at the end of every > 'line'. When testing with small files, I notice that there is "nil" displayed sometimes. Strange ! For example, with the testfile --- 1 % 2 % 3 % --- I sometimes get --- 2 % 3 % nil 1 % --- Why ? -- DW