[GRASSLIST:5803] Re: Shell script recognition
Sandro Klippel
sandro.klippel at talha-mar.com.br
Wed Mar 19 08:07:05 EST 2003
Begin forwarded message:
Date: Wed, 19 Mar 2003 10:06:12 -0300
From: Sandro Klippel <sandro.klippel at talha-mar.com.br>
To: David Orme <d.orme at imperial.ac.uk>
Subject: Re: [GRASSLIST:5801] Shell script recognition
On Wed, 19 Mar 2003 12:51:51 +0000
David Orme <d.orme at imperial.ac.uk> wrote:
You would try:
chmod +x /usr/local/grass5/scripts/spot.select.sh
> Hi all,
>
> This may be a unix question rather than a grass question:
>
> I've written a simple shell script ('spot.select.sh') which I want to
> use from within GRASS. I've put the script in $GISBASE/scripts
> (following 'Open Source GIS: A GRASS GIS approach') _
>
> > GRASS 5.0.0 > ls $GISBASE/scripts/spot*
> > /usr/local/grass5/scripts/spot.select.sh
>
> _ but when I try and run the script, this happens _
>
> > GRASS 5.0.0 > spot.select.sh
> > spot.select.sh: Command not found.
>
> My interpretation of this is that GRASS doesn't recognize the command,
> although it could mean that there is something within spot.select.sh
> that isn't found.
>
> The script contains simple instructions to start up R, perform a few
> simple tasks using R/GRASS and then drop back into grass5.
>
> Does anyone have any pointers?
>
> Thanks,
> David.
--
Sandro Klippel <sandro.klippel at talha-mar.com.br>
talha-mar projetos ambientais
Conselheiro d'Avila 190
Porto Alegre,RS 91040-450
+55 (51) 3344-7451
w w w . t a l h a - m a r . c o m . b r
--
Sandro Klippel <sandro.klippel at talha-mar.com.br>
talha-mar projetos ambientais
Conselheiro d'Avila 190
Porto Alegre,RS 91040-450
+55 (51) 3344-7451
w w w . t a l h a - m a r . c o m . b r
More information about the grass-user
mailing list