[GRASS-dev] Re: missing awk in WinGRASS
Moritz Lennert
mlennert at club.worldonline.be
Wed Jan 23 14:37:18 EST 2008
On 23/01/08 17:32, Michael Barton wrote:
> Hmmm.
>
> Looking in the bin directory in msys, there IS an awk and gawk.exe.
>
> So why would scripts complain about not having it? Is there something in
> the batch file that needs to be set so that GRASS knows that it's there?
As it says in the readme: "in order for shell scripts to work, you will
have to add msys' lib and bin directories to your path in the
grass63.bat file."
Concretely this means uncommenting (i.e. deleting the 'rem') the last of
the following lines in grass63.bat and adapting it to your installation
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)
rem set set PATH=%PATH%;c:\msys\1.0\bin;c:\msys\1.0\lib
Moritz
More information about the grass-dev
mailing list