[GRASS-dev] Proper formatting of input parameters for bash scripts

Michael Barton michael.barton at asu.edu
Fri Jun 9 18:58:08 EDT 2006


Doesn't the "multiple" argument do this automatically in the g_parser()
system?

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


> From: "Patton, Eric" <epatton at nrcan.gc.ca>
> Date: Fri, 9 Jun 2006 15:03:58 -0300
> To: "'grass-dev at grass.itc.it'" <grass-dev at grass.itc.it>
> Subject: [GRASS-dev] Proper formatting of input parameters for bash scripts
> 
> I'm trying to write a script that accepts either a delimited list for input
> (like g.region rast=map1,map2,map3,...) or will interpret the given input as
> a wildcard pattern if the appropriate flag is given also. What is the syntax
> required when writing in bash to enable this functionality? The script I'm
> writing uses r.patch in loop if a wildcard pattern is given, otherwise it
> should accept single or multiple-delimited lists of input rasters by
> default.
> 
> Thanks,
> 
> ~ Eric.
> 
> 




More information about the grass-dev mailing list