Shell script to find/replace patterns

Đã hoàn thành Đã đăng vào 5 năm trước Thanh toán khi bàn giao
Đã hoàn thành Thanh toán khi bàn giao

goal: Replace hostnames in a set of xml files

I will have two inventory files (old hosts and new hosts)

format :

cat [login to view URL]

hosts (2):

[login to view URL]

[login to view URL]

cat [login to view URL]

hosts (2):

[login to view URL]

[login to view URL]

1)Step 1 is to change hosts to this format example: ip-100-14-184-237

2)find and replace in all xml files that match first host in [login to view URL] with the first host in [login to view URL], second host in old [login to view URL] with the second host in [login to view URL] and so on. (loop)

Linux PHP Python Shell Script XML

ID dự án: #17704420

Về dự án

11 đề xuất Dự án từ xa 5 năm trước đang mở

Được trao cho:

xRow

Hello, Please tell me how is more convenient to you, for me to create a config file where you can put all the paths to the files and run the script or to pass file locations as arguments to the script?

$20 USD trong 1 ngày
(2 Đánh Giá)
1.6

11 freelancer chào giá trung bình$42 cho công việc này

inovativeeyes

Hello Yes, Sure! I am ready to start! I am having expertise in Linux, PHP, Python, Shell Script, XML. Kindly get back to me Thanks Vijay

$40 USD trong 1 ngày
(37 Nhận xét)
5.9
wizard24h

hello sir I see you want to create a pattern matching and replacing script for your files this is the easiest thing in the world and I can do it using regex + file handlers Please if you're interested contact me an Thêm

$25 USD trong 1 ngày
(16 Nhận xét)
5.5
AVKor

Hello, I'm an expert in in Linux (18 years of experience; Debian, Ubuntu, CentOS and many others) and bash/shell scripting. Please look at my profile.

$30 USD trong 3 ngày
(35 Nhận xét)
5.0
MuhammadAliAkbar

Hey, I would love to work on this project. I am a computer scientist this problem it's very easy to tackle with the right solution that I'll provide to you. Message me with the details so we can start working right aw Thêm

$15 USD trong 3 ngày
(32 Nhận xét)
4.4
EasyDigiSoft

Hi there. I am professional php and wordpress developer. I've been working on many projects like this and I always finish everything with success.I would like to work on this project. Lets talk more about the details, Thêm

$66 USD trong 1 ngày
(15 Nhận xét)
4.1
chuyencn

Dear sir, I can write this shellscript for you in less than a day, just 2-3 hours for support further... thanks an best regards...

$40 USD trong 1 ngày
(0 Nhận xét)
0.0
nguyenmt

I want to support in long-term for the requirement like that. It is simple to me and i can easy to finish it in time.

$25 USD trong 1 ngày
(0 Nhận xét)
0.0