[GRASS-dev] r.info -g

Maciej Sieczka tutey at o2.pl
Mon Sep 4 13:57:44 EDT 2006


Glynn Clements wrote:
> Martin Landa wrote:
> 
>> r.info module has a lot of flags [1] which print *given* information
>> to stdout. From my point of view it would be better (maybe) to have
>> only *one* flag for this purpose, e.g.
>>
>>   -g   Print basic information in shell script style
>>
>> What do you think about it? It should not break any scripts in CVS
>> tree (maybe Add-ons?). Sure, it is not a good way -- to break backward
>> compatibility... on the other hand, just adding new flag -g is not
>> also nice solution.
> 
> We shouldn't remove existing flags, but an additional flag to print
> all available information in a parsable format would be a useful
> addition.

Glynn's right. But I hope that in Grass 7 the flag for a *complete*,
parsable r.info output could be changed to -g anyway (since g.region,
v.univar, v.db.connect, v.category, r.univar, r.sunmask, r.in.xyz use
it already).

Should it go to Grass 7 plans WIKI?

Maciek




More information about the grass-dev mailing list