[GRASS-windows] Command line problems

Glynn Clements glynn at gclements.plus.com
Mon May 17 11:36:21 EDT 2010


Hanlie Pretorius wrote:

> I'm using winGrass 6.4RC6 and having trouble with some of the commands
> shown in help documentation and I suspect it's because I'm using
> Windows and not *nix.
> 
> For example, when I try to run a command such as:
> eval `cat VTL2733.XYZ | r.in.xyz -s -g in=- fs=space out=test`
> 
> I get the error:
> 'eval' is not recognized as an internal or external command, operable
> program or batch file'
> 
> Can someone help me to fix this?

The above command uses Bourne shell syntax. On Windows, you can use
MSys, which may already be bundled with the GRASS installer (if not,
you can get it via http://mingw.org/wiki/MSYS ). The shell is called
"sh.exe".

> If the answer is to install Cygwin,  is it possible to specify which part?

Cygwin is overkill if you just need the shell.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-windows mailing list