how to interleave two txt files with alternative number of lines – unix.stackexchange.com

file1.txt: 1 2 3 4 5 6 file2.txt: A B C D E Desired Output in 3 : 1 ratio (file3.txt) 1 2 3 A 4 5 6 B Commands I have tried: sed Rfile2.txt file1.txt >file3.txt paste -d '\n' file1.txt ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "how to interleave two txt files with alternative number of lines – unix.stackexchange.com"