Reformat function call on one line: sed -e :a -e '$!N;s/\n / /;ta' -e 'P;D'
sed -e :a -e '$!N;s/\n / /;ta' -e 'P;D'