Linux script to replace multiline in a file with another file

Lengkap Disiarkan 7 tahun lepas Dibayar semasa penghantaran
Lengkap Dibayar semasa penghantaran

Hi,

we have a file called [url removed, login to view] with the details:

line 1

line 2

line 3

line 4

line 5

We want to replace line 2 to line 4 using pattern matching with another file called [url removed, login to view] with the details:

new line 2

new line 3

You can use sed script or perl script

You need to give us the script that works, and provide explanation to the script.

Linux Shell Script

ID Projek: #10660104

Tentang projek

2 cadangan Projek jarak jauh Aktif 7 tahun lepas

Dianugerahkan kepada:

stoyanovalexandr

Hello, I am skilled unix and network engineer with 5 years of experience in unix based systems, virtualization, iptv etc. I like to automate system working with additional shell scripts. I have fresh account on this Lagi

$35 USD dalam sehari
(2 Ulasan)
1.7

2 pekerja bebas membida secara purata $28 untuk pekerjaan ini

asachin92

I've been in software industry for past 5 years. I've hands on experience with C++, scripting in linux environment. I'll be able to help you, please contact me for further details.

$20 USD dalam 2 hari
(1 Ulasan)
0.0