In <http://grass.osgeo.org/grass71/manuals/g.parser.html>, "Notes":

--%<---
...individual comma separated identities for an option named "input" can be parsed with the following Bash shell code:

IFS=,
for opt in $GIS_OPT_INPUT ; do
    ... "$opt"
done
--->%--

Doesn't this require to set the IFS back to what it was? Maybe note it too? I've been trapped in this (as usual, not being careful): <http://unix.stackexchange.com/a/98853/13011>.

Nikos
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to