TIL you can use tr to replace all sequences of multiple whitespaces to a single one with "tr -s ' '" ("s" for "squeeze"). Very useful for example when you want to use cut but columns are separated by multiple whitespaces. And yes, "-s" for tr is part of POSIX.