RFE: Read and Analyze Giant Files

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


Jeanne:

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

#!/usr/local/bin/mc
on startup
put 0 into the_counter
repeat
  read from stdin until "mystic_mouse"
  if the result is not empty then
    add 1 to the_counter
  else
    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