Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

[LINUX]ONLY BY USING SED [LINUX] DO THE FOLLOWING: Lets say you have a regular expression as follows saved in file cars ? ? and lets

[LINUX]ONLY BY USING SED [LINUX] DO THE FOLLOWING:

Lets say you have a regular expression as follows saved in file cars

? ?

and lets say you have the following file car_brands_file which contains:

toyota

lexus

prado

bmw

my question is how do i replace Car_brands in the regular expression : ? ?

with the contents of the car_brands_file. Furthermore, say there was a file for car_model too, how am i too replace the word car_model with the car_model_file such that the final output should look something like this for eg.

<

toyota

lexus

prado

bmw>

<

Model_1902

Model_1999

Model_1928

>

Step by Step Solution

3.43 Rating (166 Votes )

There are 3 Steps involved in it

Step: 1

grep Orange mylata sampletxt grep ouppepp mydata Sample Ext 48 ... 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

Principles Of Taxation For Business And Investment Planning 2016 Edition

Authors: Sally Jones, Shelley Rhoades Catanach

19th Edition

1259549259, 978-1259618536, 1259618536, 978-1259549250

More Books

Students also viewed these Databases questions

Question

What does non-recourse financing mean?

Answered: 1 week ago