[GRASS-user] db.describe help

Markus Neteler neteler at itc.it
Mon Sep 10 12:44:45 EDT 2007


gis.gn wrote on 09/10/2007 01:24 PM:
> Hello.
> I have a problem with db.describe.
> I have inserted the command db.describe in a script but this gives an error.
> In the script:
> db.describe table=comuni_intgis driver=dbf database=$GISDBASE/$LOCATION_NAME/$MAPSET/dbf
>
> The error is:
>   
It seems that you didn't quote the database settings as needed (so the
shell expands it which is wrong):

# use single quotes!
db.describe table=comuni_intgis driver=dbf
database='$GISDBASE/$LOCATION_NAME/$MAPSET/dbf'

Hope this helps
Markus

------------------
ITC -> dall'1 marzo 2007 Fondazione Bruno Kessler
ITC -> since 1 March 2007 Fondazione Bruno Kessler
------------------




More information about the grass-user mailing list