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

Ken Mankoff mankoff at gmail.com
Tue Oct 1 17:12:04 PDT 2019


On 2019-10-01 at 18:55 -04, Rich Shepard <rshepard at appl-ecosys.com> wrote...
> # get the list of DEM raster files
> MAPS = `g.list type=raster sep=newline pat="45123*"`

MAPS=$(g.list type=raster sep=comma pat="45123*")

I think $() is preferred over `` and you need a comma separated list for r.patch.

  -k.


More information about the grass-user mailing list