Hello hugheskbh,
I think you can achieve it like this:
cat detailfile>>headerfile;cat trailerfile>>headerfile
I'm sure you can even do it in one step:
cat detailfile trailerfile>>headerfile
Anyway, afterwards headerfile will contain all 3 files. To preserve the sourcefiles try:
cat...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.