Answered step by step
Verified Expert Solution
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!
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.txtStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started