[GRASS-user] r.patch does not find list of raster maps

Rich Shepard rshepard at appl-ecosys.com
Wed Oct 2 05:31:40 PDT 2019


On Tue, 1 Oct 2019, Ken Mankoff wrote:

> MAPS=$(g.list type=raster sep=comma pat="45123*")
> I think $() is preferred over `` and you need a comma separated list for r.patch.

Ken,

If $ works while `` doesn't I'll modify the example.

About the separator: g.list prints each map on a separate line which is why
I specified 'newline'. So specifying 'comma' will result in a
comma-separated list instead? Interesting. That, too, will be added to the
manual page.

Thanks,

Rich


More information about the grass-user mailing list