[GRASSLIST:2820] Re: error using batch-grass.sh

Maliheh malihehs at yahoo.com
Wed Mar 3 02:41:09 EST 2004

> Maybe, if you post the script here we can look and
> see
> what is wrong with it...
> Cheers
> Daniel

Hello Daniel,
Thanks for your response, "batch-grass.sh" is in

now would you please help me?

Thank you so much.

--- 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?
> Regards

Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster

More information about the grass-user mailing list