Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

unix commands for 12, 13, thanks! Use sed to remove the field for ranking info on each line. e.g. Remove (Ranked 28) on line 1

unix commands for 12, 13, thanks!image text in transcribed

Use sed to remove the field for ranking info on each line. e.g. Remove "(Ranked 28)" on line 1 8) 9) Use sed to remove the first two lines in in CompanyList.txt 10) Use sed to add a colon before "(" in CompanyList.txt and save the output to file newList.txt 11) Use sed to list only the company number and company name on each line by checking "newList.txt" E.g. line 1 in the output is "1.The Home Depot" E.g. line 12 in the output is "12.Mohawk Industries, Inc" 12) Use awk to finish above task. 13) Use sort to print out the sorted lines in alphabetical order according to the company name in CompanyList.txt

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

Step: 3

blur-text-image

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

The Power Of Numbers In Health Care A Students Journey In Data Analysis

Authors: Kaiden

1st Edition

8119747887, 978-8119747887

More Books

Students also viewed these Databases questions