merge multiple txt files as one csv file | table : Hey I have couple of files which contain data like this:

    file1.txt
    abc
    def
    hij

    file2.txt
    def
    abc
    qlm

    file3.txt
    def
    lop
    tmn

desired output:

mergedfile.csv

    file1      file2     file2
    abc        def       def
    def        abc       lop
    hij        qlm       tmn

will be eagerly waiting for you valuable answers many thanks.