Notice To Myself: Replace Whitespace With One Space Using sed on Mac OS X

In order to remove whitespace produced by lsof output you need to trim it with sed.

sed -E ‘s/[[:space:]]+/ /g’

Watch for the uppercase -E and [[:space:]]