Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

lets say i have a file1 that contains : Dave,7348389800 Bob,3131234567 Harry,2483445576 John,3134491390 Sue,2484962204 Marry,6165564458 and another file2 that contains: Dave,tuesday Bob,friday Harry,sunday John,wednesday Sue,thursday

lets say i have a file1 that contains :

Dave,7348389800

Bob,3131234567

Harry,2483445576

John,3134491390

Sue,2484962204

Marry,6165564458

and another file2 that contains:

Dave,tuesday

Bob,friday

Harry,sunday

John,wednesday

Sue,thursday

Marry,saturday

i need to use a loop in unix to sort them into another file in this way:(by the day of the week)

SUNDAY Harry (248) 496-2204

MONDAY Nobody

TUESDAY Dave (313) 123-4567

WEDNESDAY John (616) 556-4458

THURSDAY Sue (734) 838-9800

FRIDAY Bob (248) 344-5576

SATURDAY Marry (313) 449-1390

SUNDAY Harry (248) 496-2204

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

XML Data Management Native XML And XML Enabled Database Systems

Authors: Akmal Chaudhri, Awais Rashid, Roberto Zicari, John Fuller

1st Edition

0201844524, 978-0201844528

More Books

Students also viewed these Databases questions

Question

How will the members be held accountable?

Answered: 1 week ago

Question

a. How will the leader be selected?

Answered: 1 week ago