Can I concatenate text / html files with some soft of batch file?
On windows I could do something like...
copy /b file1+file2 file3
copy /b file1+file4 file5
In one batch file to generate a files made up of several files.
I've trying to create some html help files, with a header, footer, unique content and files containing common c开发者_高级运维ontent.
How can I do this ?
cat file1 file2 >> file3
cat file1 file4 >> file5
file3 and file5 are the output files, just list the files you want to concatenate in order of how they should appear in the output files.
精彩评论