[GRASS-user] capacity

Ivan Shmakov oneingray at gmail.com
Fri Jul 6 05:31:13 EDT 2007


        I might have completely missed the point, but may the following
        help?

GRASS> g.mlist type=rast pattern="prefix*" \
           | (while read r; do r.region map="$r" ...; done)

        (I'm assumed that you've ran into a limit of command line
        length; since the above loop doesn't try to put all the map
        names into a single command, but rather issues a separate
        command for each of the maps, it should overcome the limit.)




More information about the grass-user mailing list