N
Naresh
Guest
I have two files say file1 and file2. Both the file have header.I want to remove the header from the second file file2.
Firstly I am concatenating the first file file1 into the new file say finalfile using below command.I am doing this in the progress 4Gl language using linux command.
OS-COMMAND SILENT VALUE("cat " + file1 + " > " + finalfile).
Now to remove the header from the second file file2 and concatenate into finalfile i am using below linux command in Progress 4GL.
OS-COMMAND SILENT VALUE("sed -e '1d' " + file2 + " >> " + finalfile).
now before using sed command i want add the space in the end of finalfile
How i can add the space at the end the first file before concatenate file2 file into finalfile.
Continue reading...
Firstly I am concatenating the first file file1 into the new file say finalfile using below command.I am doing this in the progress 4Gl language using linux command.
OS-COMMAND SILENT VALUE("cat " + file1 + " > " + finalfile).
Now to remove the header from the second file file2 and concatenate into finalfile i am using below linux command in Progress 4GL.
OS-COMMAND SILENT VALUE("sed -e '1d' " + file2 + " >> " + finalfile).
now before using sed command i want add the space in the end of finalfile
How i can add the space at the end the first file before concatenate file2 file into finalfile.
Continue reading...