[GRASS-windows] Running a bash script in Wingrass...

Luigi Ponti lponti at infinito.it
Thu Jul 24 04:25:23 EDT 2008


Marco Pasetti wrote:
> Hi Jonathan,
>
>> I have the latest and greatest wingrass installed, as well as 
>> MSYS/MINGW, and I'm trying to figure out how, exactly, to launch a 
>> bash script I've created (and successfully run) on a unix box.  From 
>> boot time to actually calling the script, what is the order of ops?  
>> I've tried launching grass via the -text command, but typing the full 
>> path to my .sh script once in grass just opens the script in a 
>> windows text editor.  Help!
>
> 1. copy your foo.sh scripts in \GRASS\msys\home\Jonathan (or your 
> username, if different)
> 2. go to the GRASS start group and click on GRASS MSYS Console
> 3. type grass63 and enter
> 4. open the desired location and map
> 5. focus on the previously opened msys console and type foo.sh
On my wingrass downloaded and installed yesterday, it says:

    $ grass63
    sh: grass63: command not found

In the msys.bat script there is no reference to GRASS and in the msys 
folder there is no file called grass63: why should it work?
Thanks and regards,
Luigi

>
> job done
>
> Regards,
>
> Marco
> _______________________________________________
> grass-windows mailing list
> grass-windows at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-windows
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-windows/attachments/20080724/28ba4333/attachment.html


More information about the grass-windows mailing list