by Jeremy Canfield | Updated December 6th, 2017
The paste command can be used to update a file to place text in line. For example, let's say file1 contains the following text.
Hello World How are you today?
The paste command will put the text inline.
~]# cat file1 | paste - - Hello World How are you today?