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
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to