printf left alignment string format issue
I have an issue here. My code in printf is not formatting string left alignment for last column properly. See attachment for output.
$original_line prints 1st 3 columns as 1 string.
printf MYFILE ("%-8s %13.0f %-38s\n", $original_line, $result, $user_folders);
Command printf prints last column close to previous column left justified (but with inadequate spacing). I think this is the format I need. However, changing number in printf for last column to get better alignment under folder access heading doesn't increase spacing until column jumps to next line abruptly.
Thanks for any help you can provide.