Brilliant. Thanks Martin!
On Nov 20, 2007 2:40 PM, Martin Landa <[EMAIL PROTECTED]> wrote: > Hi, > > 2007/11/20, Andre Hauptfleisch <[EMAIL PROTECTED]>: > > 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. > > http://grass.gdf-hannover.de/wiki/GRASS_and_Shell#GRASS_Batch_jobs > > Martin > > > > > -- > > Groete, > > Andre Hauptfleisch > > > > M: 082 5722 469 > > F: 086 687 1106 > > E: [EMAIL PROTECTED] > > _______________________________________________ > > grass-user mailing list > > [email protected] > > http://lists.osgeo.org/mailman/listinfo/grass-user > > > > > > > -- > Martin Landa <[EMAIL PROTECTED]> * > http://gama.fsv.cvut.cz/~landa<http://gama.fsv.cvut.cz/%7Elanda>* > -- Groete, Andre Hauptfleisch M: 082 5722 469 F: 086 687 1106 E: [EMAIL PROTECTED]
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
