[GRASSLIST:1294] command which works like "d.what.rast" command but non-interactively

Dear GRASS User

I'm using some raster map which is DEM.
I'm searching for GRASS command which is mentioned bellow.

* If I give xy coordinates on raster map to command, command return elevation value.
* command works non-interactively.

Does GRASS have such command?
(In short, I want to know command which works like "d.what.rast" command but non-interactively.)
Please let me know.

Thank you in advance.
Sincerely yours.

----
Hayashi Shin'ichiro
mail:forest@bres.tsukuba.ac.jp URL:http://ryuiki.agbi.tsukuba.ac.jp/~forest
Watershed Management Lab., University of TSUKUBA

Hayashi Shin-ichiro wrote:

I'm using some raster map which is DEM.
I'm searching for GRASS command which is mentioned bellow.

* If I give xy coordinates on raster map to command, command return
* elevation value.

* command works non-interactively.

Does GRASS have such command?

(In short, I want to know command which works like "d.what.rast"
command but non-interactively.)

Use "r.what".

--
Glynn Clements <glynn.clements@virgin.net>