I need help please.write a shell script that will take the information from two files and combine into another file
I created both files in vi.
file1
David 734.854.5643
Roberto 313.432.4532
Sally 267.423.5412
Mary 435.432.7654
Ted 324.642.6743
Alice 234.576.3245
Frank 342.465.6754
second file
file2
Roberto Tuesday 2
Sally Monday 8
Ted Sunday 16
Alice Wednesday 23
David Thursday 10
Mary Saturday 14
Frank Friday 15
The output file should be like this:
Name On-Call Phone Start Time
Sally Monday 267.423.5412 8am
Roberto Tuesday 313.432.4532 2am
Alice Wednesday 234.576.3245 11pm
David Thursday 734.854.5643 10am
Frank Friday 342.465.6754 3pm
Mary Saturday 434.432.7654 2pm
Ted Sunday 324.642.6743 4pm