repeat string in a line using sed

sed

Solution

sed 's \(.*\) \1\1 ' infile

Problem

I would like to repeat each line's content of a file, any quick solution using sed. supposed the input file is abc def 123 The expected ouput is: abcabc defdef 123123

Original source