I am using cat *.txt to merge multiple txt files into one, but I need each file to be on a separate line.
What is the best way to merge files with each
for file in *.txt do cat "$file" echo done > newfile