[GRASS-dev] g.mlist problem

Michael Barton michael.barton at asu.edu
Tue Sep 18 03:15:18 EDT 2007


Wolf,

I just checked the 'binary' version against the source version of g.mlist.
Both are identical.

There must be something problematic in the new code. Has anyone else had
this problem? 

Has this been tried on a Mac? I don't know what difference that would make,
but maybe something... I do know there there are some differences in Mac OS
X awk and Linux awk. I don't know about sed and bash.

Michael


On 9/18/07 12:01 AM, "Wolf Bergenheim" <wolf+grass at bergenheim.net> wrote:

> On 18.09.2007 09:56, Michael Barton wrote:
>> I tried the new fast g.mlist and got very weird results. Running g.mlist
>> rast returned mapnames like...
>> 
>> elevation.10mnrstrct.areasn
>> 
>> ... instead of
>> 
>> elevation.10m
>> 
> 
> It seems there is a missing \ before the n somewhere in the code, since
> \ + n => \n = new line. Or then your compiler doesn't handle "\n" properly.
> 
> --Wolf

__________________________________________
Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & 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