[GRASSLIST:7890] build polylines with attributes preserved

Hi All

How do I build polylines only of segments which have the same attribute
(e.g. the same name). How to preserve this attribute in the output file?

I've been digitising streams in parts. Now I need to connect all the
segments of the same stream into one. v.build.polylines can't do it, doesn't
preserve attributes at all.

Any hints, please. I'm stucked :(.

Maciek