From: ts Date: 2006-07-16T22:48:29+09:00 Subject: Re: Newbie question on an I/O loop >>>>> "J" == Jay Daniels writes: J> and the next three (unread) bytes in the file are: 1A C0 B5 ^^^ moulon% /usr/bin/ruby -e 'p "%c" % 0x1A' "\032" moulon% it's Control-Z, use "rb" to open the file p.s.: moulon% ruby -e 'p "%c" % 0x1A' -e:1: [BUG] Segmentation fault ruby 1.9.0 (2006-07-14) [i686-linux] Aborted moulon% Guy Decoux