[GRASS-user] for looping using attribute levels of a vector
Nikos Alexandris
nikos.alexandris at felis.uni-freiburg.de
Sat Oct 11 07:22:07 EDT 2008
On Sat, 2008-10-11 at 00:55 -0700, Alex Mandel wrote:
> Milton Cezar Ribeiro wrote:
> > Dear R-gurus,
[...]
> > 2. How can I bypass the problem of white space for
> > city names?
[...]
> 2. Hmm, you probably need to find a way to encapsulate each line in
> quotes for the loop reads each string or put a delimiter in that you can
> parse. maybe try vs="," to add a character.
>
> http://grass.itc.it/grass63/manuals/html63_user/v.db.select.html
Dear Milton, you work under linux, right? Does it work if you use "tr"?
For example:
echo "ano rizoma" | tr ' ' '_'
Regards, Nikos
More information about the grass-user
mailing list