[GRASS-dev] problem with r.colors on Mac

Michael Barton michael.barton at asu.edu
Tue Apr 17 12:50:56 EDT 2007

On 4/17/07 8:35 AM, "Glynn Clements" <glynn at gclements.plus.com> wrote:

>>     if {[string length $str] != 0} {
>>         Gronsole::add_data_tag $path $ci out
>>     }

So do I just get rid of this if clause?

>> # here I changed all the above code to use gets and read line by line rather
>> than create line by line output with split
>>     while {[gets $fh line] >= 0} {
> This test will never be true; the preceding "read" will have consumed
> all available data, leaving none for the "gets".

Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton 

More information about the grass-dev mailing list