[GRASS-dev] g.findfile X g.filename

Hamish hamish_b at yahoo.com
Tue Jan 18 16:44:11 EST 2011


Martin wrote:
> isn't functionality of g.filename covered by g.findfile? If
> so, this module could be removed from trunk...

"""
NOTES
       This routine generates the filename, but does not care
       if the file (or mapset or element) exists or not. This
       feature allows shell scripts to create new data base files
       as well as use existing ones.
"""

(g.findfile cares if it exists, returns "" for answers if not)

perhaps in trunk its functionality could be covered by g.findfile + a new
flag?


Hamish



      


More information about the grass-dev mailing list