I'm trying to make a logfile looking something like this:
Username(tab)(tab)IP(tab)time(tab)etc....
I want the data stored in a .txt file and have pretty columns.
Depending on the length of the username either 1,2 or 3 tabs should be inserted after the username to make the columns pretty and not broken.
But how do I figure out how many tabs I need to insert after the username? Is a tab = 5 spaces or?