Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Do you know where your variables are?
 
PerlMonks  

Re: Right shifted display

by Anonymous Monk
on Jun 01, 2012 at 14:17 UTC ( #973777=note: print w/ replies, xml ) Need Help??


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?


Comment on Re: Right shifted display
Select or Download Code
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://973777]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2013-05-25 07:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (519 votes), past polls