logo

Crowdly

Browser

Add to Chrome

Suppose you have a file called foo.txt, which contains the following text on two...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Suppose you have a file called foo.txt, which contains the following text on two lines:

Edinburgh is the best city in Scotland.

We love Edinburgh!

What is the effect of executing the following command?

  sed 's/Edinburgh/Glasgow/g' foo.txt

More questions like this

Want instant access to all verified answers on moodle.gla.ac.uk?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome