On Sun, Jan 17, 2010 at 12:05 AM, Glynn Clements <[email protected]> wrote: > Paolo Craveri wrote: >> I have some scripts which perfectly work in GRASS 6.4 whereas in GRASS >> 7.0 they give problems. ... >> echo "UPDATE polyNoTopology \ >> SET label='poly$a' WHERE cat=$index" | db.execute ##works in GRASS >> 6.4; in 7.0 I need: >> echo "UPDATE polyNoTopology \ >> SET label='poly$a' WHERE cat=$index" | db.execute in=- >> >> echo "5,3" | v.in.ascii out=point fs="," cat=0 --o # works perfectly >> in 6.4 but not in 7.0 >> ## in 7.0 I have to create a file (perhaps, is there a better way?) >> echo "5,3">coord >> v.in.ascii input=coord out=point fs="," cat=0 --o ... > 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? Markus _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
