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.
The paste command will put the text inline.
Hello World How are you today?