I'd like to paste three files into a single file with two spaces between each file using the paste command in linux bash:
paste -d '\n\n' file1.txt file2.txt file3.txt > output.txt
However, there is no difference at all between paste -d '\n'
and paste -d '\n\n'
.
Let's say file1 consists of the single number "1", file2 of "2" and file3 of "3", I always get the following:
1
2
3
But I'd like to have:
1
2
3
Why does my code not work?