Ok I found out the problem meanwhile you were answering. I had 4 lines but three of them where very weird: 2 points, vertex to the same vertex -> a point, but stored as a line. I couldn't see it, beacuse it was superimposed on the major, single line.
<br>I think it was a problem with the original shapefile...<br><br>Thanks anyway Martin.<br><br><div><span class="gmail_quote">2008/1/12, Martin Landa &lt;<a href="mailto:landa.martin@gmail.com">landa.martin@gmail.com</a>
&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Ciao,<br><br>2008/1/12, G. Allegri &lt;<a href="mailto:giohappy@gmail.com">giohappy@gmail.com
</a>&gt;:<br>&gt; I can&#39;t figure out how to solve a problem with a line feature shapefile I<br>&gt; have. It has been wrongly created as 81 single lines touching each other<br>&gt; with their vertexes. I need to merge the lines into a unique line. I&#39;ve
<br>&gt; tried with v.edit and the merge tool, two times. First time it gave me 32<br>&gt; lines, the second I receive the following result:<br>&gt;<br>&gt; 1 of 4 features selected from vector map &lt;costa@PERMANENT&gt;
<br>&gt;<br>&gt; Only 1 lines found, at least two needed<br><br>[snip]<br><br>&gt; I can&#39;t understand what it means: it says it selected 4 lines but then just<br>&gt; 1 line has been found. the post build report lists 4 lines... I&#39;m a bit
<br>&gt; confused.<br><br>it means that your vector map contains 4 features (in this case<br>lines), but you selected only one line for merging (you have to select<br>at least two lines to enable merging tool).<br><br>which parameters you used for 
v.edit?<br><br>Martin<br><br>--<br>Martin Landa &lt;<a href="mailto:landa.martin@gmail.com">landa.martin@gmail.com</a>&gt; * <a href="http://gama.fsv.cvut.cz/~landa">http://gama.fsv.cvut.cz/~landa</a> *<br></blockquote></div>
<br>