[GRASS-user] v.rast.stats

Dear all,

i have GRASS running under Windows and tried the command v.rast.stats. Unfortunately I got a message that I have to install awk or gawk first. What is awk and gawk and how to get ir ?

Regards

Niels

--

-----------------------------------------------------
Dr. Niels Thevs
Chair of Geobotany and Landscape Ecology
Institute of Botany and Landscape Ecology
Greifswald University
Grimmer Strasse 88
17487 Greifswald
Germany

Tel.: +49-3834-86-4137
Fax: +49-3834-86-4114

-----------------------------------------------------

Awk is a command line instrument, for Linux/Unix boxes, to make some
work on text strings:
http://www.gnu.org/software/gawk/manual/gawk.html

Do you use the Windows native version or the Cygwin one?
In the first case you should have it installed with the msys system.
In the grass63.bat you have something like this:

rem Path to the shell command
rem (adjust to where you installed msys or another shell)
set GRASS_SH=c:\msys\1.0\bin\sh.exe

rem Path to utilities used by some scripts, such as awk, sed, etc
rem (adjust to where you installed msys, gnuwin32, or other similar
utilises)
set PATH=%PATH%;c:\msys\1.0\bin;c:\msys\1.0\lib

Check it. I've never used the native version, so I can't give you more help.
In case you use cygwin, you should already have it ready to use...

In any case, check the environmental variables are set right.

Giovanni

2008/1/28, Niels Thevs <nt001582@uni-greifswald.de>:

Dear all,

i have GRASS running under Windows and tried the command v.rast.stats.
Unfortunately I got a message that I have to install awk or gawk first.
What is awk and gawk and how to get ir ?

Regards

Niels

--

-----------------------------------------------------
Dr. Niels Thevs
Chair of Geobotany and Landscape Ecology
Institute of Botany and Landscape Ecology
Greifswald University
Grimmer Strasse 88
17487 Greifswald
Germany

Tel.: +49-3834-86-4137
Fax: +49-3834-86-4114

-----------------------------------------------------

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