[GRASS-user] 6.4 vs 7.0

Glynn Clements glynn at gclements.plus.com
Sun Jan 17 01:00:18 EST 2010


Markus Neteler wrote:

> > Alternatively, you could file bug reports against the 6.4 modules for
> > not accepting "-" as an input filename. There really isn't any excuse
> > for not implementing this feature.
> 
> Perhaps it could become the default behaviour in 7 to read from stdin
> (d.execute etc.) to mimick the behaviour of G6-d.execute?

That's not good for the GUI, where the module won't have a stdin
(ideally, it will have been closed; if not, the module will hang,
waiting to read from whatever its stdin happens to be).

Requiring e.g. input=- has the advantage that GUI users are unlikely
to do this accidentally; choosing "-" via the file selector would
require that you have a file named "-" somewhere.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-user mailing list