[GRASS-dev] help with batch file

Hi everyone,

I am a beginner in programming GRASS GIS. I have to run one code line several times. I suppose I can do it with a batch file, run it and wait for results.

I have read some web sites about it but I do not get anything.

Could someone show me an example of a script file?

I am working with GRASS 6.4 in MAC Leopard.

Thank you in advance.

javi.

2011/1/25 ZABALZA MARTINEZ, JAVIER <jzabalza@ipe.csic.es>:

Hi everyone,

I am a beginner in programming GRASS GIS. I have to run one code line
several times. I suppose I can do it with a batch file, run it and wait for
results.

I have read some web sites about it but I do not get anything.

Could someone show me an example of a script file?

http://grass.osgeo.org/wiki/Scripting
http://grass.osgeo.org/wiki/GRASS_and_Shell
http://trac.osgeo.org/grass/browser/grass/branches/releasebranch_6_4/scripts

Here you can find a lot of documentation and example

Thank you in advance.

javi.

regard
Luca

http://gis.cri.fmach.it/delucchi/
http://www.lucadelu.org