[GRASS-dev] Understanding g.tempfile and resolving "Illegal filename" issues

Hamish hamish_b at yahoo.com
Thu Nov 14 20:37:45 PST 2013


Hamish:

>> what problems did you have with "i.fusion.hpf.tmp.$$" ?
Nikos:
> I think the problem was (among my misunderstanding) that $$
> was the same for a bunch of names fed as variables here and there.

'$$' gets replaced with the PID of the calling process, so within a single script it will be consistent, and it should be unique among processes currently running on the system.


Hamish



More information about the grass-dev mailing list