[GRASS5] d.vect.thematic committed to CVS
Hamish
hamish_nospam at yahoo.com
Sun May 15 00:26:35 EDT 2005
> > d.vect.thematic:
..
> > min="`grep 'Minimum:' TMP1 | sed s/Minimum://`"
> > max="`grep 'Maximum:' TMP1 | sed s/Maximum://`"
> > mean="`grep 'Mean:' TMP1 | sed s/Mean://`"
> > etc.
> > change TMP1 -> "$TMP1"
> >
> > Always try to "quote" file names. (spaces in names, etc)
>
> This doesn't work with "$TMP1". Kept TMP1.
You are creating a file called "TMP1" in the current directory,
v.univar.sh -e table=$GIS_OPT_table column=$GIS_OPT_column > TMP1
should be
v.univar.sh -e table=$GIS_OPT_table column=$GIS_OPT_column > "$TMP1"
then the rest should work too.
Hamish
More information about the grass-dev
mailing list