-l options should be the last on the list. They don't affect any arguments to their right.
Also consider adding a '\n' to the end of your printf(), or another '\t' or something. Otherwise the numbers will run together.
-l options should be the last on the list. They don't affect any arguments to their right.
Also consider adding a '\n' to the end of your printf(), or another '\t' or something. Otherwise the numbers will run together.
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.