I have a C program that outputs two columns, utterly misaligned. The reason for the misalignment is lengths of words in the first column are very different.
I have an o
Here's a awk solution : c_prog | awk '{ printf("%- 40s %- 40s\n", $1, $2); }'
c_prog | awk '{ printf("%- 40s %- 40s\n", $1, $2); }'