RFE: Read and Analyze Giant Files

Sannyasin Sivakatirswami katir at hindu.org
Fri Nov 8 23:48:07 EST 2002


Slick solution!  Think I'll try it. .....
(read and analyze data in 300 meg file with over 3 million lines)

Welp, it sounds good but it doesn't work.,  Here's my code

on startup
put 0 into the_counter
  read from stdin until "mystic_mouse"
  if the result is not empty then
    add 1 to the_counter
    put the_counter
    exit repeat
  end if
end repeat
end startup

I got, counter is zero, program exits with "broken pipe".  I am cat'ing 
the input into it with a pipe.

Himalayan Academy Publications
Sannyasin Sivakatirswami
katir at hindu.org
www.HinduismToday.com, www.HimalayanAcademy.com,
www.Gurudeva.org, www.hindu.org

More information about the Use-livecode mailing list