[GRASSLIST:2788] error using batch-grass.sh

Maliheh malihehs at yahoo.com
Sun Feb 29 09:17:23 EST 2004


hi all,
I want to use GRASS commands in a my shell script, I
tried to use of batch-grass.sh:

./batch-grass.sh Tehran_2 root g.list type=rast

but I get this error:

./batch-grass.sh: line 61: g.list: command not found

I don't know if I should run grass at first and then
use of this script or not?

In this case(run the script in the grass env, I give
this error:

ERROR: program 'g.list' cannot be executed because:
Neither a command line (cmd) or interactive (inter)
version was found

Would you please help me to solve it?

Regards


__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools




More information about the grass-user mailing list