Quote:
Originally Posted by sanimfj
Hopefully the title summarized what I need help with. I have multiple files that I would like to concatenate in bash.
ie:
cat file1 file2 file3 > bigfile
except I do not want to include the first line from each file (). Any help? Thanks.
|
We'll be glad to help...post what you've written and tried so far. If you need a hint, I'd start by running the individual files through sed, and stripping the first line off there. A simple bash loop can go through all the files in a directory, strip the line, and add it to the output file.