6.12 Is there a simple way to concatenate 2 or more files into 1. For instance copy file_1 + file_2 + file_3 into file_4?
1. Execute a file equation specifying APPEND access for file 4:
:FILE FILE4;ACC=APPEND
FCOPY the other files to file 4:
:FCOPY
>FROM=FILE1;TO=*FILE4
>FROM=FILE2;TO=*FILE4
>FROM=FILE3;TO=*FILE4
>E
Make sure FILE4 is large enough to hold everything from files 1, 2 and 3.
2. Using the POSIX shell,
cat file_1 file_2 file_3 >file_4