From: James Edward Gray II Date: 2006-08-13T07:10:35+09:00 Subject: Re: ruby equiv of perl pos $ ri -T IO#pos ----------------------------------------------------------------- IO#pos ios.pos => integer ios.tell => integer ------------------------------------------------------------------------ Returns the current offset (in bytes) of ios. f = File.new("testfile") f.pos #=> 0 f.gets #=> "This is line one\n" f.pos #=> 17 James Edward Gray II