[GRASS-dev] g.region -g3

Maciej Sieczka msieczka at sieczka.org
Sat Oct 30 05:06:01 EDT 2010

W dniu 27.10.2010 16:42, Patricio Toledo pisze:

> 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

     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.


Maciej Sieczka

More information about the grass-dev mailing list