1

i would like to write a script in bash to merge two files (file1 file2) in a file 3 line by line from each files. And not with awk I don't really know how to start it. I actually try with head and tail.

so you got a file1 with :

a
b
c

and another file 2 :

1
2
3

so if you execute the script as follow : ./script.sh file1 file2 it print :

a
1
b
2
c
3
YoloSama
  • 69
  • 5

0 Answers0