> db.select table=jaciments_dispersio > database=$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/ driver=dbf > 'sql=TOPONIM="La Contienda"' fs=| -v I don't think it is your error, but in general note that fs=| needs to be quoted: fs='|' (and fs=| is default so just leave it out) Hamish