[GRASSLIST:2796] Re: error using batch-grass.sh
daniel_victoria at yahoo.com
Mon Mar 1 07:52:55 EST 2004
Maybe, if you post the script here we can look and see
what is wrong with it...
--- Maliheh <malihehs at yahoo.com> wrote:
> 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?
> Do you Yahoo!?
> Get better spam protection with Yahoo! Mail.
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
More information about the grass-user