Using GRASS commands form unix prompt

Conn Copas conn.copas at dsto.defence.gov.au
Wed Jan 27 00:46:17 EST 1999


"Justin Hickey" <jhickey at impact1.hpcc.nectec.or.th> writes:

> > Is there a way of setting up GRASS so that I can use the GRASS commands
> > directly from the UNIX prompt. I faintly recall that there was some
> > suggestion for doing this sometime on this ML but I am unable to locate the
> > answer now.
> 
> Why can't you use the standard grass commnad line interface (running
> grass4.2.1)?

Possibly because it is desired to issue Grass calls from within a program, 
rather than interactively. There has been previous discussion on setting 
environment vars so that these calls may be issued, but parsing the output 
remains as a sometimes tricky problem.



More information about the grass-user mailing list