Jarekj wrote: > in the script, which is started from ~/grass/rzeki/ > I have the problem with line > .... > v.db.connect -o map='red_'$k driver=dbf > database=~/$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/
The '~/' at the front of the path shouldn't be there. Also, you need quote the argument; the DBF driver performs run-time substitutions of GRASS variables. Without quoting, the shell will try to expand them, and they aren't defined. IOW: 'database=$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/' Note: you need to use single quotes, as the shell will expand variables inside double quotes. -- Glynn Clements <[EMAIL PROTECTED]> _______________________________________________ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user