ivan marchesini <[EMAIL PROTECTED]> writes:
> Many thanks Markus...
> I did this way (for a line only, which has category=163 ... now I
> will create a cycle for each line of the map):
> with this I obtain the length of the line subtracted of 20 meters:
> echo "`v.report map=Reticol layer=1 option=area units=meters | grep
> 163 | cut -f3 -d'|'`-20" | bc -l
You may find `sed' useful as well, e. g.:
$ v.report map=Reticol layer=1 option=area units=meters \
| grep 163 \
| cut -f3 -d'|' \
| sed -e s/\$/-20/ \
| bc -q
[...]
_______________________________________________
grassuser mailing list
[email protected]
http://grass.itc.it/mailman/listinfo/grassuser