What I usually do in my scripts is to have the environment set when I
run and, with a few exceptions (when the script is recursive and needs a
new shell for each run), I can logoff and the script will end by itself.
Hope that helps
Luís Franco
-----Original Message-----
From: Conn Copas [mailto:conn.copas@dsto.defence.gov.au]
Sent: Quarta-feira, 27 de Janeiro de 1999 5:46
To: grass@cecer.army.mil
Subject: Re: Using GRASS commands form unix prompt
"Justin Hickey" <jhickey@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.