On Wed, 21 Sep 2016, Nikos Alexandris wrote:

Some observation: `-g` prints out in shell style, suitable for
`eval`uating. The `eval` utility, for example, constructs a command, from
the given arguments (here, the ouput of `g.region -g`) which is then
executed by the shell. See for example
https://grasswiki.osgeo.org/wiki/Shell_scripting#Using_output_from_GRASS_modules_in_the_script.

A ready to copy-n-paste form is obtained via `-f` (this is a recent
addition by Moritz during the code sprint in Bonn).

Maybe the `-f` flag would be a useful addition to `r.proj` as well.

Nikos,

  Thank you.

Rich
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to