R
Rebhan, Gilbert
Hi,
how to alter tail function to start at the end
of the file, not reading the lines already existing in file ? =3D
File =3D File.open(ARGV[0])=20
while File.exists?(file.path)
puts file.gets while !file.eof?
sleep(1)
end
Regards, Gilbert
how to alter tail function to start at the end
of the file, not reading the lines already existing in file ? =3D
File =3D File.open(ARGV[0])=20
while File.exists?(file.path)
puts file.gets while !file.eof?
sleep(1)
end
Regards, Gilbert