i have some csv files in a directory which have sub-directories also. now how can i merge all .csv files in to one with a single header. for example: have some 4 files. 1.csv--------name,age,sal abc,25,4000 2.csv--------name,age,sal vgd,32,3500 3.csv--------name,age,sal hfg,20,5000 4.csv--------name,age,sal asd,15,2000 now my output file should be like 5.csv----------name,age,sal abc,25,4000 vgd,32,3500 hfg,20,5000 asd,15,2000 and please explain the code for me. as i am new to scripting. thank you in advance
1410Post New Tech Mahindra Shell Script Code Interview Questions
Explain the concept of routing in laravel.
How is it possible to cast types in php?
I have a existing Oracle applicttions and need to bring one of the new business on it. The new business will use GL, AP and FA. We will use existing COA. This business will have 3 sets of books (1- tax book, from April to March; 2- Primary book, from July to June; 3- Reporting book, from July to June); All books will have same currency; HOW DO I TRANSFER DATA FROM PRIMARY BOOK INTO TAX AND REPORTING BOOKS EVERY MONTH OR ON WEEKLY? IS THERE ANY STANDARD ORACLE PROCESS WHICH CAN BE SCHEDULED? THE REPORTING BOOK WILL HAVE DIFFERENT DEPRECIATION METHOD SO HOW DO I NOT TRANSFER DEPRECIATION FROM PRIMARY TO REPORTING BOOK AND DO SEPERATE DEPRECIATION IN REPORTING BOOK FOR THE SAME ASSET THAT IS ALSO IN PRIMARY AND TAX BOOK?. HOW DO I APPROACH ON SETTING THESE NEW SETS OF BOOKS? Thanks, KK
how to calibrate steam control valve in steam turbine
Tell me how could the web element attributes be inspected in order to use them in different locators?
What is urlencode and urldecode in php?
What is db2 connect?
Refernce currents are to be generated using refernce cueernts how can this be done
What is an interceptor stack?
Explain what is record meta data?
What happens when I change a value in the httpsession from inside an ejb?
What are the disadvantages of asp.net?
Iam selected for final round of interview in IDBI bank for asst. manager post. Can any one help me in knowing what kind of questions will be asked in the interview and how should i prepair?
What is no-follow link?
what is R Core Transformer. how it differs from normal transformers. dont search in net and post the answer.