Hi
why:
g.region -g | awk -F"=" '/^nsres=/ {print $2 * 1.45}'
works, but:
bufdist=`g.region -g | awk -F"=" '/^nsres=/ {print $2 * 1.45}'`
or
bufdist=`eval g.region -g | awk -F"=" '/^nsres=/ {print $2 * 1.45}'`
not work, while, wery similar structure:
n=`g.region -g | awk -F"=" '/^n=/ {print $2+2000}'`
works??
i.e what is wrong in bufdist calculation??
thanks if somebody ansfer
Jarek
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user