in reply to Right shifted display

Now that everybody else is commenting, I too recommend that you review how printf is supposed to be called. The correct syntax is:

printf "%8s%s", "", "<spirit:library>$proj_name\_lib</spirit:library>\ +n";

This is pretty obviously not the best way to generate eight spaces. Would using a "\t" be completely out of the question?

Replies are listed 'Best First'.
Re^2: Right shifted display
by zeni (Beadle) on Jun 04, 2012 at 04:33 UTC

    This syntax works just fine. But using '\t' is not the best solution as i need some 40 white spaces.