[GRASS-dev] batch-grass.sh not working with GRASS > 6.0

Robert Nuske rnuske at gwdg.de
Fri Aug 18 06:29:42 EDT 2006


Dear Developers,

does anybody know why batch-grass.sh 
from the GRASS FAQ "How to use GRASS in batch mode?"
does not work anymore?

I run the batch-grass.sh script for the last time successfully in May with 
whatever cvs version was up-to-date at that time, probably 6.1.

After fiddling with my grass-scripts and cluelessly looking through 
batch-grass.sh I tested all 6.x versions and found that my set-up works with 
the 6.0 version but not with the newer versions.

Thats why I am wondering what changed in GRASS to that effect. And what do I 
need to do, to get batch-grass.sh working again.

I very much appreciate any hints, tips and fixes.

cheers,
  robert

--tests-----------------------------------------------------------
simple test with one command:
./batch-grass.sh eifel nwz2 g.region -p

6.0.2  is okay

grass-6.1.0 - 6.3.cvs give the following
./batch-grass.sh: line 62: 16750 Speicherzugriffsfehler  $*


providing the grass commands in a file: 
./batch-grass.sh eifel nwz2 -file g_commands.sh

grass-6.0.2 again works

and the others fail with this message:
sh: line 1: 17129 Speicherzugriffsfehler  g.region -p


with:
grass-6.3.cvs (cvs from 2006-08-17)
grass-6.2.cvs (built from grass-6.2.cvs_src_snapshot_2006_08_12)
grass-6.1.0   (built from grass-6.1.0.tar.gz)
grass-6.0.2   (built from grass-6.0.2.tar.gz)







More information about the grass-dev mailing list