<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 5, 2014 at 3:21 PM, Sören Gebbert <span dir="ltr"><<a href="mailto:soerengebbert@googlemail.com" target="_blank">soerengebbert@googlemail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">print map_name, "|", start, "|", end</blockquote>

</div><br>I'm affraid that this prints also spaces around | and so t.register will fail because it expects only one separator, i.e. |.</div><div class="gmail_extra"><br></div><div class="gmail_extra">That should be </div>

<div class="gmail_extra"><br></div><div class="gmail_extra">print map_name + "|" + start + "|" + end<br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><a href="http://grass.osgeo.org/grass70/manuals/t.register.html">http://grass.osgeo.org/grass70/manuals/t.register.html</a><br>

</div><div class="gmail_extra"><a href="http://docs.python.org/2/reference/simple_stmts.html#print">http://docs.python.org/2/reference/simple_stmts.html#print</a><br></div></div>