[GRASS-dev] Re: diff to start wingrass with GUI + com.exe terminal [was: Re: [winGRASS] (no subject)]

Michael Barton michael.barton at asu.edu
Mon May 21 18:57:22 EDT 2007




On 5/21/07 2:34 PM, "Moritz Lennert" <mlennert at club.worldonline.be> wrote:

>> AFAICT, you can do this for any bash or python script (or whatever the
>> shell
>> can do something with).
>> 
> 
> Yes, if you have a preexisting script. But you cannot type and run
> something like (nonesense script for demonstration):
> 
> for val, col in $valnames
> do
>   d.vect map=X fcolor=$col cat=$val
> done
> 
> You would have to save it as a script in your PATH and then launch it as
> such.


I know that you can do this with Python. But can you do it with a normal
bash terminal and shell scripting? I thought you are limited to what you can
do on one line.

Michael

__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton 




More information about the grass-dev mailing list