Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

12) Replace the period right after the line number by a colon on each line and save the output to a new file newCompanyList.txt. 13)

image text in transcribed
12) Replace the period right after the line number by a colon on each line and save the output to a new file "newCompanyList.txt". 13) Use awk to finish task in 11) by reading file "newCompanyList.txt. 14) Use sort to print out the sorted lines in alphabetical order according to the name of location in CompanyList.txt. 15) "When a pattern groups all or part of its content into a pair of parentheses, it captures that content and stores it temporarily in memory. You can reuse that content if you wish by using a back-reference, in the form:11 or $1, where \1 or $1 reference the first captured group" (Refer to [1]). For example, the following command reverse "Atlanta" and "GA" sed -E 's/(Atlanta), s (GA)/12-11/g' CompanyList.txt Attach a screenshot of the output of the above sed command. 16) Now can you write a command to finish task 11) using sed with back-reference? 12) Replace the period right after the line number by a colon on each line and save the output to a new file "newCompanyList.txt". 13) Use awk to finish task in 11) by reading file "newCompanyList.txt. 14) Use sort to print out the sorted lines in alphabetical order according to the name of location in CompanyList.txt. 15) "When a pattern groups all or part of its content into a pair of parentheses, it captures that content and stores it temporarily in memory. You can reuse that content if you wish by using a back-reference, in the form:11 or $1, where \1 or $1 reference the first captured group" (Refer to [1]). For example, the following command reverse "Atlanta" and "GA" sed -E 's/(Atlanta), s (GA)/12-11/g' CompanyList.txt Attach a screenshot of the output of the above sed command. 16) Now can you write a command to finish task 11) using sed with back-reference

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

Data Analysis Using SQL And Excel

Authors: Gordon S Linoff

2nd Edition

111902143X, 9781119021438

Students also viewed these Databases questions

Question

How can you defend against SQL injection attacks?

Answered: 1 week ago

Question

What is the difference between Needs and GAP Analyses?

Answered: 1 week ago

Question

What are ERP suites? Are HCMSs part of ERPs?

Answered: 1 week ago