Question: This is what I have so far. I need helping parsing them together through pipes/ input output I am also unsure of how to increase

 This is what I have so far. I need helping parsing

them together through pipes/ input output I am also unsure of how

This is what I have so far. I need helping parsing them together through pipes/ input output I am also unsure of how to increase the value of the fruit pieces by + 0.02 as well.

-----------------------------

#!/bin/bash

date

whoami

sed 's/201./2018/g' orders

sed 's/apples/pears/g' orders

sort -k2 orders

sort -k3 -b customers

[help with Increase cost of fruits by 0.02]

awk '!($1="")' customers

paste orders customers >customersorders

Create a shell script which fulfills the following requirements Creating a Bash Script File After you are satisfied with your hands-on log session in Assigment 3-1(previous question) create and execute a bash script using a text editor of your choice that does the following Write a script called update that does the following: Lists current date Displays your username Updates year to 2018 for all line items in the orders file Changes apples to pears Sort fruits alphabetically (i.e. a-z) Sort customers by last name (i.e. A-Z) Increase cost of each fruit price by.02 Cut the number column from the customer file Combine the customers and orders into one file named result

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!