This might be a small one!
I have a two lines in a text file like below:
S<Switch_ID>_F<File type>
_ID<ID number>_T<date+time>_O<Original File name>.DAT
I want to append the two lines in vi like below
S<Switch_ID>_F<File type>_ID<ID number>_T<date+time>_O<Original File name>.DAT
What happened here is that the second line got deleted and and the contents of second line are appended to the first line.
How could I do it using in command mode in vi?