Output columns needs to be aligned

Hi All

I'm running a shell script and the output is something like:

Col1           Col2       Col3
aaaa      aaaaaaa   aaaaa
bbbbb       bbbbb      bbbbbb
ccc        cccccc    ccccccc

But I require the output to printed as given below:

Col1           Col2          Col3
aaaa          aaaaaaa     aaaa
bbbbb         bbbbb       bbbbbb
ccc           cccccc      ccccccc

Thanks in advance,
Kamal

Post your script, and we'll see how we can assist.

Regards

I'm displaying the output using the below echo statement

echo " $line $TAB $TAB $line2 $TAB $TAB $(head -1 /tmp/alias_names.list) $TAB $TAB $TAB $(awk -F" " '{print $2}' /tmp/port.list) "

Not enough information, post the contents of the variables $line, $line2, the output of

head -1 /tmp/alias_names.list

the output of

awk -F" " '{print $2}' /tmp/port.list

and the desired output.

Those two statements are just print a single variable