Hi,

2010/6/21 stn <[email protected]>:

[...]

> Script looks like this now:
>
> echo "v.in.ogr dsn=/home/user/grassdata/BRD_Kreise.shp location=import
> output='BRD_Kreise_shp' min_area=0.0001 snap=-1" > "$HOME/x.grass"

$ cat "$HOME/x.grass"
#!/bin/sh
v.in.ogr dsn=/home/user/grassdata/BRD_Kreise.shp location=import
output='BRD_Kreise_shp' min_area=0.0001 snap=-1

$ chmod +x $HOME/x.grass

Helps?

> export GRASS_BATCH_JOB="$HOME/x.grass"
> grass -text "$GISDATEN/tmplocation/PERMANENT"

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to