8

Concatenate 560 files in one

view full story
linux-howto

http://www.unix.com – HI all, could please help me in this code. I have 560 files containing the same columns but different rows. i want to concatenate all these files in one big file. i want to keep the header of the first file then add the dat from other files horizontally. the name of my files contains 2 variables : chunk number and chromosome number. this an example code: IMP_chunk11-chr6_file i have tried this code but it works only for one variable and 22 files. anu suggestion to adapt it to my case code : Code: for p in 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 do more +2 EUR.chr${p (HowTos)