cat yourfile.txt | perl -ple 's/(\S+\s+\S+)\s+/$1\n/g'