On 27/09/19 17:39, Nikos Alexandris wrote:
GRASS GIS' `r.stats` modules does this:
```
r.stats input=$(g.list rast pattern=cru*.*1 separator=comma) -n -x -N
```
However, it won't do it for thousands of maps. Too many maps will hit
the '[Argument list too long]' error which is triggered by the AR
GRASS GIS' `r.stats` modules does this:
```
r.stats input=$(g.list rast pattern=cru*.*1 separator=comma) -n -x -N
```
However, it won't do it for thousands of maps. Too many maps will hit
the '[Argument list too long]' error which is triggered by the ARG_MAX
constant. Is there a work-around?
El