http://qs321.pair.com?node_id=973750


in reply to Right shifted display

printf doesn't work the way you (seem) to think it does. Perhaps you should review the documentation for the format string

I suggest you forget about printf and use a normal print:

print $xmlfile " <spirit:library>$proj_name\_lib</spirit:librar +y>\n"; # ^------^ 8 spaces