I'm using printf in order to make my output formatted neatly, but the tabs are coming out with variable length. In other words, the "tab" between field 1 and field 2 might be a total of 5 spaces, whereas the "tab" between fields 8 and 9 might be 2.
I thought one of the core ideas of printf was that you could avoid issues like this.
Anybody have any ideas of how I can get the output intended, i.e. fixed number of spaces in tabs?
Here is an example of my code: printf "$var1\t$var2\t$var3...\n"\ etc. etc.
Note the trailing backslash. I have to continue several lines.