[GRASS-user] r.patch example in the manual

Martin Landa landa.martin at gmail.com
Mon Dec 17 10:51:01 EST 2007


Hi,

2007/12/17, Craig Leat <Craig at pid.co.za>:

> I'm trying the r.patch example given in the manual for 6.3.0RC3 and there
> appears to be a problem passing the output from g.mlist to g.region. So, in
> fact, I haven't managed to try r.patch yet. I followed the example and this
> is what I got back:
>
> GRASS 6.3.0RC3 (msunduzi_lo31):~ > MAPS='g.mlist type=rast sep=,
> pat="*.red"'

Instead of ' use ` ...

MAPS=`g.mlist type=rast sep=, pat="*.red"`

> GRASS 6.3.0RC3 (msunduzi_lo31):~ > echo $MAPS
> g.mlist type=rast sep=, pat="*.red"
> GRASS 6.3.0RC3 (msunduzi_lo31):~ > g.region rast=$MAPS
> Sorry, <type> is not a valid parameter
> Sorry, <sep> is not a valid parameter
> Sorry, <pat> is not a valid parameter

Martin

-- 
Martin Landa <landa.martin at gmail.com> * http://gama.fsv.cvut.cz/~landa *


More information about the grass-user mailing list