[GRASSLIST:5507] Re: script in Grass 6.0

Hamish hamish_nospam at yahoo.com
Tue Jan 25 00:52:40 EST 2005


> What is happen with the option file-scripting in Grass 6.0? It is not
> available? What can I do scripts?


just save the commands into a script file, then run it from the prompt.


either with

. commands.txt

or 

sh commands.txt

or

chmod u+x commands.txt
./commands.txt



use the "history" command to get a list of previous commands.
'd.save -o' is nice too.



Hamish




More information about the grass-user mailing list