[GRASS-dev] Use g.tempfile

Hamish hamish_b at yahoo.com
Wed Feb 6 17:59:20 EST 2008


Markus Neteler wrote:
> Nearly :) Note the quotes to prevent from white space issues in the
> path:
> 
> # get full path temp file
> temp1="`g.tempfile pid=$$`"

actually, I am not so sure the extra "quotes" are really needed around
the `back quotes`. (But I don't think they hurt anything)

e.g.
$ FOO="a b"
$ BAR=`echo $FOO`
$ echo $BAR
a b


Hamish



      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping



More information about the grass-dev mailing list