[GRASS-user] Script automation with GRASS

Andre Hauptfleisch ahaupt at gmail.com
Tue Nov 20 07:35:22 EST 2007


Another newby question.

I see that one can run any scripts from within GRASS, but is it possible to
start the application from a script, pipe some commands and close the
application again?

Something such as:

#!/bin/bash

# ... some code ... #

./grass63 -text | v.do something; r.do something; exit

# ... or maybe a better way ...#

./grass63 -text | ./some_grass_script.sh; exit

# ... some code ... #




At the moment when I do a "./grass63 -text" command, I need to verify the
DATABASE and LOCATION info and then hit (ESC)(ENTER) sequence.

-- 
Groete,
Andre Hauptfleisch

M: 082 5722 469
F: 086 687 1106
E: ahaupt at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20071120/d031426c/attachment.html


More information about the grass-user mailing list