Shell Programing - How to printf align my output like a table?
===

How do i printf align my output like a table?

Title                                             Author
BaokyBook                                              Baoky2
Use basename commandUse basename command ..             Baoky


My partial code is like this
titlelength=${#title};

First i get the title length, then i printf like this
titlespace=`expr 60 - titlelength`;
printf "%s %${titlespace}s\n" "$title" "$author"

But the alignment is not right, how do i get it working well aligned 
