====== SED - Convert - Convert Newlines to Spaces ====== sed -i ':a;N;$!ba;s/\n/\t/g' file