[GRASS-user] Help in scripting

Markus Neteler neteler at osgeo.org
Fri Apr 10 13:33:40 EDT 2009


2009/4/10 Luís Ferreira <lferreira75.1 at gmail.com>:
> Can anyone help me correcting a little loop script for mapcalc?
>
> I'm trying:
> for map in 'g.mlist pattern="L71204033_03320090313_*" sep=,'; do

you need to use backticks: ` not '

for map in `g.mlist pattern="L71204033_03320090313_*" sep=","` ; do

Markus


More information about the grass-user mailing list