[EMAIL PROTECTED] wrote: > I just stumbled over this one: > > For some reason, xargs can't be used when LOTS of filenames have to be > concatenated in a GRASS script. > > The example attempts to collect all raster layers with a 6-character name to > stack them into > a volume. > > g.mlist type=rast pattern='??????' sep=, |xargs r.to.rast3 input={} > output=The_volume
You need to pass -i or -I'{}' to xargs to have the input substituted in place of the {}. Otherwise, it will just be appended. -- Glynn Clements <[EMAIL PROTECTED]> _______________________________________________ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user