I have 58 files named as xaa.csv to xcf.csv, none of them have headers. I have a separate file with the header. How can I merge the files with the header and have 59 outputs merged?For example:input xaa.csv xab.csv ..... xcf.csvoutputxaa + header.csv xab + header.csv....
Multiple files with no header to merge with one header
cat;merge
for file in ???.csv; do   cat header.csv $file > joined-$filedone