Bash / SED script to sort two files

В роботі Опубліковано %project.relative_time Оплачується при отриманні
В роботі Оплачується при отриманні

Hello, I need a Bash script to loop through two files and change a reference on each line in one of them.

This is for making a custom Linux install that fits on one disk. I will also combine a kickstart file and some other commands but that is not in the realm of this project.

To make it more understandable of what I want I will include parts of both files.

File 1 hal-0.5.2-2.fc4.1 tcsh-6.14-1.fc4.2 cyrus-sasl-plain-2.1.20-6 [login to view URL] iptraf-2.7.0-15.FC4.1 File 2 cyrus-sasl-plain setroubleshoot system-config-date system-config-kdump My theory is that this first script will make all packages optional (off) so the second script only has to turn them on. So to the second script: The second script will loop through File 1 and find the corresponding reference line in File 2 and change type="optional" to type="default". Looking at the contents of both files there may be some string manipulation needed. File 1 - cyrus-sasl-plain-2.1.20-6 (one line) File 2 - cyrus-sasl-plain

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

Bash Linux

Техніка Linux MySQL PHP Архітектура ПЗ Тестування ПЗ

ID Проекту: #3511513

Про проект

5 заявок(-ки) Дистанційний проект Остання активність Dec 5, 2007

5 фрілансерів(-и) готові виконати цю роботу у середньому за $28

stevenfvw

See private message.

$21.25 USD за 14 дні(-в)
(13 відгуків(и))
3.4
ashrar

See private message.

$21.25 USD за 14 дні(-в)
(6 відгуків(и))
2.9
ghostdog74

See private message.

$12.75 USD за 14 дні(-в)
(19 відгуків(и))
2.9
vw6770380vw

See private message.

$76.5 USD за 14 дні(-в)
(0 відгуків(и))
0.0
Dubal

See private message.

$8.5 USD за 14 дні(-в)
(0 відгуків(и))
0.0