[GRASS-dev] g.region -g3

Martin Landa landa.martin at gmail.com
Sat Oct 30 05:26:11 EDT 2010


Hi,

2010/10/30 Maciej Sieczka <msieczka at sieczka.org>:
>> When -g3 option is used, g.region prints the number of cell in three
>> dimensions as 3dcells. Two comments, first it is inconsisten with
>> other 3d names, it should be called cells3. Second is that if one
>> uses eval $(g.region -g3) then the shell complains as 3dcells is not
>> a qualified variable name (i have tested this on bash and zsh) as it
>> starts with a number, again cells3 fixes the problem.
>
> Look like a bug to me. Acoording to
> http://www.gnu.org/software/bash/manual/bashref.html#Definitions:
>
> name
>    A word consisting solely of letters, numbers, and underscores, and
> *beginning with a letter or underscore*. Names are *used as shell
> variable and function names*. Also referred to as an identifier.
>
> Please report this in GRASS Trac.

fixed in r44089. Martin

-- 
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa


More information about the grass-dev mailing list