And just in case, you know you can capture that output directly to SAS tables instead of text files so that you can process it and report it back out nicely in whatever format you want?
If not, here's some instructions and explanations on how to capture output that is shown into a SAS dataset.
https://blogs.sas.com/content/sastraining/2017/03/31/capturing-output-from-any-procedure-with-an-ods...