<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div dir="ltr" data-setdir="false">Dear list,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Is there a GRASS GIS command (maybe a v.db.* one) to subset, in a single command, the columns of a vector?</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">What I have: vector "vect" with 5 columns "a, b, c, d, e" in the attribute table</div><div dir="ltr" data-setdir="false">What I want: vector "vect_sub" with only, for instance, "a, c, e"</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I can use v.extract to subsample rows, but not columns. What is the easiest way of doing that, what needing many commands (like creating or copying the vector to a new one, creating a new attribute table, then copying only the columns I want).</div><div dir="ltr" data-setdir="false">I looked for that in the documentation but did not found it so easily.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Thanks!</div><div dir="ltr" data-setdir="false">Bernardo</div></div></body></html>